How to shift and unshift using javascript?
No Answer is Posted For this Question
Be the First to Post Answer
What is strict mode in javascript?
Difference between private, public and static variable?
Do I need var in javascript?
What is the difference between JavaScript and jscript?
How to test for bad numbers using javascript?
How do you create a new object in JavaScript?
print the following using loop. 54321 4321 321 21 1
2 Answers Delhi Public School,
How to include the HTML tag inside the javascript tags?
Difference between window, document, and screen in Javascript?
List different ways of empty an array in 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
Can you write a random integers function to print integers with in a range?