- Forums
- Javascipt
- How To Hide Javascript Code From Older Browsers
This Page Contains information about How To Hide Javascript Code From Older Browsers By web hosting in category Javascipt with 0 Replies. [2160], Last Updated: Mon Jun 24, 2024
web hosting
Sat Apr 19, 2008
0 Comments
544 Visits
sometimes its necessary to hide javascript code from older browsers so hide the javascript code you can use the HTML comments tags.
<SCRIPT language="javascript" type="text/javascript">
<!--
javascript code here
//-->
</SCRIPT>
as you can see from the code above:
<!-- tell the browser to start hiding
//--> tells the browser to stop hiding the javascript code