1) What is JavaScript?
Ans:JavaScript is a scripting language most often used for client-side web development.
2) What is the difference between JavaScript and Jscript?
Ans:Both JavaScript and Jscript are almost similar. JavaScript was developed by Netscape. Microsoft reverse engineered Javascript and called it JScript.
3) Is JavaScript case sensitive?
Ans:Yes!
A function getElementById is not the same as getElementbyID.
4) What are the types used in JavaScript?
Ans:String, Number, Boolean, Function, Object, Null, Undefined.
5) How do you submit a form using JavaScript?
Ans:Use document.forms[0].submit();
0 comments:
Post a Comment