JavaScript Interview Questions

List of JavaScript Interview Questions. To get the answers of these JavaScript Interview Questions.click here.
Protected by Copyscape Duplicate Content Protection Tool
  1. How to get value from a textbox?
  2. How to get value from dropdown (select) control?
  3. How to get value from RadioButtonList control?
  4. How to get CheckBox status whether it is checked or not?
  5. How to toggle display an HTML element?
  6. What Boolean operators are not supported by JavaScript?
  7. What does is Nan function do?
  8. Who Developed JavaScript?
  9. Which method is used to clear an Array in javascript?
  10. For generating random numbers we have to used the following function?
  11. JavaScript is interpreted by _________
  12. Which of the following is not considered a JavaScript keyword?
  13. What does the <noscript> tag do?
  14. What should appear at the very end of your JavaScript?



    The <script LANGUAGE="JavaScript">tag
  15. String Operations:

    What will be the Output of the Following Code

    var ContentURL="http://MySite1/online-tests/1111-First-questions";

    ContentURL= ContentURL.substring(ContentURL.lastIndexOf("/")+1,ContentURL.length);

    var LastIndex;

    if(ContentURL.indexOf('-')>-1)

    LastIndex=ContentURL.indexOf('-');

    else

    LastIndex=ContentURL.length;

    ContentURL= ContentURL.substring(ContentURL.lastIndexOf("/")+1,LastIndex);
  16. Name the DataTypes of JavaScript?
  17. Which method is used to convert a string to uppercase letters?
  18. What will be the Output of the following using JavaScript

    document.Write(Math.Round(6.7));
  19. Which method is used to Clear an array using JavaSctipt?
  20. Object can be assigned property by...
  21. I have regular expression for date: ^[0-1]{1,1}\d{1,1}/[0-3]{1,1}\d{1,1}/\d{4}$.

    what will be the correct output according to the above regular expression.



    suppose i want to print 20th of Oct , 2009
  22. What is the result of below given line of code in Java Script?

    5+4+'7'
  23. What is undefined value means in JavaScript?
  24. What is === operator in JavaScript and how it is different from == operator?
  25. Can Javascript code be broken in different lines?
  26. How to get the Scroll height and Width in JavaScript !!
  27. What is undefined variable?
  28. Is it possible make a call to server side event of any button using javascript?
  29. What is other equivalent option of document.getElementById() when you are working with Ajax?
  30. How can you set position of the page (Top and Left) to 0 using Javascript in one line code?
  31. Write a way by which you can do something on the close of the window ?
  32. How to create an Object in JavaScript ?
  33. Basic methods for opening a PopUp window using Javascript?
  34. What is JSON?
  35. Which object you would use for displaying the running text in the Statusbar?
  36. How can you detect the Client Operating System using Javascript?
  37. What is the data type of variables in JavaScript?
  38. What is negative infinity?
  39. if 2 methods have same name and same number of parameters, which one will

    be executed first?
  40. Difference between undefined and undeclared variables.
  41. Difference Json Arrary Vs Json Object ?
To get the answers of these JavaScript Interview Questions.click here.
Protected by Copyscape Duplicate Content Check