Hai what is the difference between java and javascript
Answers were Sorted based on User's Feedback
Answer / mangal bhat
Java and Javascript are two different languages.
Java is a power full object oriented language like C++.
where as Javascript is client side language with some
limitation. Javascript is used mainly in form validation
during the web page designs.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / santosh pachauri
javascript is a client side scripting language while java is
a server side programming language.if you are using
validation in javascript then validation check at client side.
| Is This Answer Correct ? | 1 Yes | 0 No |
How would you compare two objects in JavaScript?
Explain the terms synchronous and asynchronous code?
How to detect browser name using JavaScript?
hi i want validations for two drop down lists. when user enter to second list by skipping first list alert box should appear. <HTML><HEAD> <TITLE>drop down validation</TITLE> <script type="text/javascript"> function validateForm(){ if(document.ItemList.Item.selectedIndex==0) { alert("Please select item from first list."); document.ItemList.Item.focus(); return false; } return true; } </SCRIPT> </HEAD> <BODY> Please choose an item from the drop down menu: <form name="ItemList" method="post" action="asp.html" onsubmit="validateForm()"> <table width="100%" border="0"> <tr> <td width="135">Choose a username: </td> <td> <select name="Item"> <option value selected> SELECT </option> <option value>Apples</option> <option value>Oranges</option> </select> <table width="100%" border="0"> <tr> <td width="135">Choose a username: </td> <td> <select name="Item" onclick="validateForm()"> <option value selected> SELECT </option> <option value>Apples</option> <option value>Oranges</option> </select> <input type="submit" name="Submit" value="Submit"> </td></tr></table></form> </BODY> </HTML> please any body help me thanks
What is spread operator react?
How to getting values from cookies to set widgets?
What is difference between javascript and jscript?
What is arguments object in JavaScript?
How to create function in JavaScript?
what is the extension of java script.
What is meant by object oriented programming?
What is the instanceof operator in JavaScript?