Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to post the form without submit button with help of
javascript

Answers were Sorted based on User's Feedback



how to post the form without submit button with help of javascript..

Answer / shailendra shukla

Create a button and call the java script function on any
event of created button.

In the java script function you can write statement to
submit the form. eg.

document.FormName.submit().

Is This Answer Correct ?    13 Yes 3 No

how to post the form without submit button with help of javascript..

Answer / modi[achir communication]

use javascript:document.formname.submit()

Is This Answer Correct ?    6 Yes 2 No

Post New Answer

More JavaScript Interview Questions

Write a program in Java to display the IP address of the local and remote machine.

0 Answers   Annamalai University,


Please write the Code of simple javascript calculator withot eval() function

0 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 is object cloning

4 Answers  


How do I turn on javascript in google chrome?

0 Answers  


How to access an external javascript file that is stored externally and not embedded?

0 Answers  


What is the difference between synchronous and asynchronous JavaScrip

1 Answers  


What is the use of javascript?

0 Answers  


What is a nan value?

0 Answers  


What is console.log()?

0 Answers  


What does the isNaN() function?

0 Answers  


What is the difference between sessionstate and viewstate?

0 Answers  


Categories