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 / anand chowdhary

This is the prefect answer:

<html><body>
<form action="what_ever.ext" method="post" name="MyForm">
<input type="hidden" name="hiddenfield1" value="<? echo $some_important_value; ?>">
</form>

<script language="javascript" type="text/javascript">
document.MyForm.submit();
</script>
<noscript><input type="submit" value="verify submit"></noscript>
</body></html>

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me what is the difference between ereg_replace() and eregi_replace()?

1072


What is a php class?

995


How can you retrieve data from the mysql database using php?

992


List some array functions in php?

896


What is the difference between Split and Explode in PHP?

1013


Tell me what are the correct and the most two common way to start and finish a php block of code?

924


How to access standard error stream in PHP?

1061


How to test if a variable is an array?

1065


Explain some of the php string functions?

927


How to connect to mysql from a php script?

1012


What does pear stand for?

906


How does php serialize work?

990


Are sessions stateless?

858


Is empty in php?

929


What is difference between readonly and constant?

957