Javascript Make Submit Button Go
RegisterLogin
Javascript Make Submit Button Go
Post Description: This Page Will Explain How You Can Make Html Code To Make A Form Submit With A Button Using Javascript
Tags: Javascript, Make, Submit, Button, Go
This Post Was Posted On Dec 20, 2009 By Webune Tutorials #2930
Post Description: This Page Will Explain How You Can Make Html Code To Make A Form Submit With A Button Using Javascript
Tags: Javascript, Make, Submit, Button, Go
This Post Was Posted On Dec 20, 2009 By Webune Tutorials #2930
Javascript Make Submit Button Go by Webune Tutorials
this is an example of a typical submit button form:
HTML FORM
<form action="" method="post" name="Form1" target="_blank">
<input name="Submit" type="submit" value="Submit" />
</form>
<input name="Submit" type="submit" value="Submit" />
</form>
now you can do the same with this form but using javascript, it will submit the form when you click on the button
FORM USING JAVASCRIPT
<form action="" method="post" name="Form1" target="_blank">
<input name="Submit" type="button" value="Submit" onClick="submit();"/>
</form>
<input name="Submit" type="button" value="Submit" onClick="submit();"/>
</form>
try it yourself,
what makes all this work is this:
onClick="submit();"
hope that helps
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
jk
#4041 1
she's a beautiful monster and i dont mind
Jun 08, 2010 Reply Report abuse
covier
#3241 2
how do you use javascript to hit submit form button ?
Jan 12, 2010 Reply Report abuse
©2011 Webune Forums - Tue Dec 20, 2011 5:41 pm
Powered by: Webune Forums V3
Powered by: Webune Forums V3