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 can we submit a form without a submit button?

Answer Posted / viktor

Into HEAD section:

<script language="javascript" type="text/javascript">
function DoSubmit ()
{
document.myform.submit();
}
</script>

BODY section:

<body onload="document['myform'].submit()">

<form action="http://www.mysite.com/post.php" method="post"
name="myform" target="_self">

</form>

</body>

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me how is it possible to propagate a session id?

1028


What are the advantages of stored procedures, triggers, indexes in php?

1030


What is a php class?

1047


Which php function will attach one file to another?

979


How many columns can be added in a table in mysql?

993


What is the purpose of using php?

1041


iam mca post graduate in 2010 not getting job in JAVA so iam looking for carear in php as market demand is high so it is best option to try for php or not

1850


How to convert a string to uppercase in php?

1048


Explain about the data types in PHP?

963


Tell me what library is used for pdf in php?

1002


Explain the difference between require() and require_once()?

959


Explain Type hinting in PHP?

1017


How to delete cookie files on your computer?

972


How do you debug php?

976


What is the difference between for and foreach loop in php?

1091