JavaScript supports almost all web browsers, however still not all. If a user on your site is using a browser that JavaScript doesn’t recognize, instead of running the script the page displays the code. To prevent your site from displaying the code, you can add a small HTML code to your JavaScript’s basic format. Add an HTML comment tag right after your opening JavaScript tag and also add an HTML close comment tag right before your closing JavaScript tag.: <script type=â€Âyourtext/javascriptâ€Â> < !--…your script… //--> </script>.
Hiding JavaScript
JavaScript supports almost all web browsers, however still not all. If a user on your site is using a...
hiding javascript
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users