<body>
<script src='some.js'></script>
</body>
script some.js loads the form. when I click update in this form, I donβt submit the form instead, I form a query string and want to send it as some.js? key = value
Now I need to change the src of the script tag.
If we change src, will it work by requesting new content again? Is it possible to use an identifier for a script tag, and if it will be supported by all browsers?
when new content is received, I will clear the old content displayed by this script. I think it's better to have a div and put all the contents inside this div. I am rewriting script.js to script.php in my htaccess, just showing users that this is just javascript access or no problem for me if I give .php.
The above is a basic requirement.
We just need to use a script tag that will retrieve content from another site and should be updated here.
You can give recommendations on using this in a standard way, which will include updating the content from site x.
so this is what people say, as a cross-site site script, at javascript request and please add more terms if they exist so that I update myself.
any answer would be helpful.