Home > DeveloperSection > Forums > its possible without submit button
Manasavi Rajpoot
Manasavi Rajpoot

Total Post:10

Points:70
Posted on    December-20-2010 1:25 AM

 JavaScript JavaScript 
Ratings:


 1 Reply(s)
 1050  View(s)
Rate this:
we can post the form without submit button
like only simple button
<input type="button" value="enter"/>
give the solution


Amit Singh

Total Post:103

Points:721
Posted on    March-14-2011 5:09 AM

we can post the form without the submit button
for example

<script type="text/javascript">

function dd() {

document.forms[0].submit();

}

</script>

<body>

<form id="form1" action="Default2.aspx" >

<div>

<input type="button" name="post" value="post" onclick="dd();" />

</div>

</form>

</body>


Don't want to miss updates? Please click the below button!

Follow MindStick