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


  What is the difference between doPost and doGet methods?
  How are Servlets and JSP Pages related?
  Give the Details of XML files used in Validator Framework?
  What is ActionForm?
  What are the types of resultsets?
  What are the standard isolation levels defined by JDBC?
  How can I enable session tracking for JSP pages if the browser has disabled cookies?
  What's a better approach for enabling thread-safe servlets and JSPs? ?
  How do I use a scriptlet to initialize a newly instantiated bean? ?
  Is servlet is used to create a dynamic webpage or Static webpage or both?
  What is default capacity of connection pool objects in pool of app-server Weblogic and Tomcat webserver?
  Can we apply multiple inheritence in java?
  How to define an Abstract class?
  What is similarities/difference between an Abstract class and Interface?
Add New Question
Glossary
Add Glossary
 
Copyright © 2009-10 Krify Software Technologies Pvt Ltd. All rights reserved.