Ask a Question    Search Answers  

Category
Computers >> Programming Concepts >> Java

Question
How to hide javascript code from old browsers that dont run it?  (1 answers) Posted by: nvreddy   Ask a Friend   pending

Answers
1.

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.
    Answered by: venkatreddy04


    Add an Answer to this Question
    Add a New Question
    Notify updates to this question
    Mail to a Friend
Rate this answer:       Exact       Correct       somewhat correct       wrong       spam

User comments


  How does JSP handle run-time exceptions? ?
  How do I prevent the output of my JSP or Servlet pages from being cached by the browser?
  Explain the life-cycle mehtods in JSP?
  What environment variables do I need to set on my machine in order to be able to run Java programs?
  Can a public class MyClass be defined in a source file named YourClass.java? ?
  What will be the default values of all the elements of an array defined as an instance variable?
  What is the difference between static and non-static variables?
  How does Java handle integer overflows and underflows?
  What is synchronization and why is it important?
  How do I dynamically disable/ enable form elements using JavaScript?
  How do I manipulate radio and check boxes in JavaScript?
  How do I validating forms using JavaScript?
  How do I access forms using JavaScript?
  How do I add a link to print only one part of a web page?
Add New Question
Glossary
Add Glossary
 
Copyright © 2009-10 Krify Software Technologies Pvt Ltd. All rights reserved.