Can I learn javascript without html?
No Answer is Posted For this Question
Be the First to Post Answer
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 the use of a map object in javascript?
What is object in javascript?
show the date in textbox when we select item (items like-- today,yesterday,lastweek,lastmonth,lastyear) from dropdownlist using javascript?
List some of the advantages of javascript.
How to write a hello world example of javascript?
how can we retrieve value from one database server and store them another database server using sql server code
What is the difference between push() and concat() in javascript?
What is difference between api and library?
Which companies are using node js?
Is javascript necessary?
Explain equality operators in javascript?