Script & noscript tag in html pages
User browser runs client side scripts in the html page. To run the inline script codes we have to keep the code block within <script> and </script> tags. All the codes within these tags will be executed by the (client side) browser. With the introduction of Ajax the script tag is frequently used and client side scripting is playing a major role in developing web pages.
Script execution support
Client browser setting can be changed to not to execute scripts. You can get all details on how to enable or disable script it here. If the script execution is disabled then we can use <noscript> tag and give a message to the user. Here we have used <noscript> html tag. Here is an example.
<noscript>Your browser does not support scripts, you have to enable it to run this page</noscript>
You can see the uses of this at our PHP Ajax section.
Number of User Comments : 3
|it is very nice....|
|pls any one give me the coorect answer for how to stop the execution of client side scripting|
|No, this is not possible. But you can have control over it by triggering stop code by some time delay or user action. There are some other ways like Ajax by which you can look back to server to control rest of the script. It can better explained by some examples. What is your requirement? |