Give an example of closure?


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

Post New Answer

More JavaScript Interview Questions

What will happen if an infinite while loop is run in Javascript?

0 Answers  


Is there any ide for javascript?

0 Answers  


Write a program to check whether a given number is a palindrome or not?

13 Answers  


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 benefits of learning javascript?

0 Answers  






Is javascript faster than asp script?

0 Answers  


What is a boolean search?

0 Answers  


How do I open javascript console?

0 Answers  


What is difference between local and global scope in javascript ?

0 Answers  


List different ways of empty an array in javascript?

0 Answers  


What are the two basic groups of dataypes in javascript?

0 Answers  


I am providing the Online& class room training on Worksoft Certify for SAP/HTML/JAVA using real time scenarios in a real time environment for a real time project, If any one is interested please get in touch with me on aimansaud@gmail.com

0 Answers   Intel,


Categories