Top JavaScript Interview Questions :: ALLInterview.com http://www.allinterview.com Top JavaScript Interview Questions en-us How to add a combo box dynamically at run time in Java script? http://www.allinterview.com/showanswers/18001.html for (var i=0;i<5;i++) { document.forms[0].cmb1.options[i]= new Option("Test"+i,i) } What is the main difference between Client side JavaScript and and S http://www.allinterview.com/showanswers/18000.html Clientside Javascript encompasses the core language plus extras such as the predefined objects, only relevant to running Javasript in a browser.The clientside javascript is embedded directly in the HTML pages and is interpreted by the browser What is a way to append a value to an array? http://www.allinterview.com/showanswers/15552.html We can use push() method to add an element in an array in its last node. Explain about session? Where it runs &amp; what are different types http://www.allinterview.com/showanswers/18003.html HTTP is a protocol which does not maintain the state of the client. It is state-less protocol, to make the protocol stateful we need to provide the session handling mechanism. This will be provided as per the need of the Application. The bas where we use javascript and for which purpose we use javascript how? http://www.allinterview.com/showanswers/37126.html JavaScript was designed to add interactivity to HTML pages JavaScript is a scripting language A scripting language is a lightweight programming language A JavaScript consists of lines of executable computer code A JavaScript is usually embedd disbable back option by java script http://www.allinterview.com/showanswers/59665.html window.history.go(+1) use in java script; or onunload =window.history.go(-1) in body tag What is the difference between java and java script? http://www.allinterview.com/showanswers/17996.html Java Script is object based language it is used for front end validations. java is object oriented language.object oriented language supports OOP's,Object based not suppoted inheritence. How to go next field without filling the text? Which function should http://www.allinterview.com/showanswers/18002.html write a function for onBlur event of ur text field. why you used Java Script? Can it use for both client side and server http://www.allinterview.com/showanswers/112.html Mainly used for client side scripting purpose.JavaScript is a platform-independent,event-driven, interpreted client- side scripting and programming language. javascript cannot be used as server side scripting. What is this keyword? http://www.allinterview.com/showanswers/15553.html The this keyword is a synonym for the current object and can be used with properties What does isNaN function do? http://www.allinterview.com/showanswers/15544.html Determine the argument / test value is a NaN. NaN is nothing but "Not-a-Number". it return true / false. How do you create a new object in JavaScript? http://www.allinterview.com/showanswers/15550.html The following function can be used as demonstrated to create an object of class myobject: function myobject() { this.containedValue = 0; this.othercontainedValue = 0; this.anothercontainedValue = 0; } var mything = new myobject(); A How about 2+5+&quot;8&quot;? http://www.allinterview.com/showanswers/15548.html 78 What are the methods of validating whether the form is secure? http://www.allinterview.com/showanswers/17998.html Windows forms protected none What looping structures are there in JavaScript? http://www.allinterview.com/showanswers/15549.html FOR, While and Do...While