|
|
| Author |
Message |
che100
Joined: 28 Feb 2004 Posts: 20 Location: Lebanon
|
Posted: Mon Mar 01, 2004 1:41 am Post subject: submit form |
|
|
submit form on pressing enter
<SCRIPT LANGUAGE="javascript">
function send()
{document.theform.submit()}
</SCRIPT>
<FORM NAME="theform" METHOD="post"
ACTION="mailto:jburns@htmlgoodies.com" ENCTYPE="text/plain">
<b>Submit your Name:</b>
<INPUT TYPE="text" name="mardi" size="30"
MAXLENGTH="30" onUnfocus="send()">
</FORM> |
|
| Back to top |
|
 |
sam Banned
Joined: 01 Mar 2004 Posts: 51 Location: IL
|
Posted: Mon Mar 01, 2004 1:21 pm Post subject: |
|
|
what is
{document.theform.submit()}
? _________________
 |
|
| Back to top |
|
 |
macabist Banned
Joined: 01 Mar 2004 Posts: 35
|
Posted: Mon Mar 01, 2004 1:45 pm Post subject: |
|
|
u dont need any script
u just need to make an sumbit button and it is send it alone |
|
| Back to top |
|
 |
i03m
Joined: 02 Mar 2004 Posts: 6
|
Posted: Tue Mar 02, 2004 12:58 pm Post subject: |
|
|
Your code is very simple .....  |
|
| Back to top |
|
 |
|