Which built-in method calls a function for each element in the array?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JavaScript Interview Questions

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

0 Answers  


What are the four basic data structures in javascript?

0 Answers  


How many data types are there in javascript?

0 Answers  


What e means?

0 Answers  


How Does Function Hoisting Work in JavaScript?

0 Answers  






List out the Mouse Events?

0 Answers  


List some of the advantages of javascript.

0 Answers  


What is a reverse string?

0 Answers  


Describe javascript and vbscript.

0 Answers  


What is an undefined value in JavaScript?

0 Answers  


Why is javascript so hard?

0 Answers  


Explain the terms synchronous and asynchronous code?

0 Answers  


Categories