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 / saiprasad

<script type="text/javascript">
function submitform()
{
document.forms["myform"].submit();
}
</script>
<form id="myform" action="submit-form.php">
Search: <input type='text' name='query'>
<a href="javascript: submitform()">Submit</a>
</form>

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Inside a php function, what param needs to be set in order to access a global variable?

966


Tell me what is htaccess?

916


Is php an oop?

969


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

959


What is the difference between array_map () and array_shift ()?

1018


How is it possible to parse a configuration file?

952


How can we check the value of a given variable is a number?

1078


What is php session_start() and session_destroy() function?

1045


Is it difficult to learn php?

951


What are some of the advanced features of php?

983


What is the difference between pop3 IMAP and MAPI?

1059


How do you execute a php script from the command line?

1046


What is php stack?

947


What is the use of post in php?

978


What is the use of mvc in php?

989