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

Can you pass an array into a function?

1059


Tell me what are the encryption techniques in php?

937


What is a query in a database?

1011


Why triggers are used in mysql?

953


What is empty () in php?

952


Which is the correct way to check if a session has already been started ?

982


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

1028


What are the differences between mysqli_connect and mysqli_pconnect?

1002


Tell me what is the meaning of a final class and a final method?

1114


How can you upload a file using php?

1101


Can you specify the "new line" character in single-quoted strings?

956


How do I see how many pages per session in google analytics?

992


When sessions ends?

952


How to terminate the execution of a script in PHP?

1037


How do I find environment variables?

990