Home »

How to hide javascript code from old browsers that dont run it?

Question ListCategory: JavascriptHow to hide javascript code from old browsers that dont run it?
jeanderson295 author asked 8 years ago
1 Answers
shah_kajal184 author answered 8 years ago

Use the below specified style of comments <script language=javascript> <!– javascript
code goes here // –> or Use the <NOSCRIPT>some html code </NOSCRIPT> tags and

code the display html statements between these and this will appear on the page if the

browser does not support JavaScript

Please login or Register to Submit Answer