Asp.net, vb.net, C#.net Resources

Welcome to Asp.net, vb.net, C#.net Resources Sign in | Join | Help
in Search

Browse by Tags

All Tags » interview quest... » Javascript   (RSS)
  • Searching for text

    Question: How do I search for a particular text string on the page? Answer: In Netscape Navigator 4.x, to search for a string use the window.find(string) method;  In Internet Explorer 4.x and newer, create a text range object (TRange in the example below) and use the method TRange.findText(string). Example: The following script gets a ...
    Posted to JavaScript Interview Questions (Forum) by admin on June 10, 2007
  • Hiding JS code from old browsers

    Question: How do I hide JS code from old browsers that do not support JavaScript? Answer: To prevent old browsers from displaying your JS code, do the following: Immediately after the opening <script> tag, put a one-line HTML-style comment without the closing characters, so that the first two lines of your script would look like this: ...
    Posted to JavaScript Interview Questions (Forum) by admin on June 10, 2007
  • Some useful Javascript Interview Questions / FAQS

    What’s relationship between JavaScript and ECMAScript? - ECMAScript is yet another name for JavaScript (other names include LiveScript). The current JavaScript that you see supported in browsers is ECMAScript revision 3. What are JavaScript types? - Number, String, Boolean, Function, Object, Null, Undefined. How do you convert numbers ...
    Posted to JavaScript Interview Questions (Forum) by admin on June 10, 2007
Powered by Community Server, by Telligent Systems