|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Here is my problem In the form I'm using we do not have a submit button and as a result when user clicks on any input box and hits Return key it beeps repeatedly several times(7 or 8 times) and that behaviour is very anoying.
So one way is to either introduce a Submit button with onClick="return false;" this solves the problem but how to hide the submit button from the page. I'm wondering is there anyother way? Mount Rock |
|
#2
|
|||
|
|||
|
I'm not entirely sure if this will help, but here it is anyway:
Try using <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre><input type="Hidden" name="buttonname" value="Go">[/code] |
|
#3
|
|||
|
|||
|
Thanks for the interest, but I know that does not work, since all the click event won't go to the hidden button.
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by stardotstar: I'm not entirely sure if this will help, but here it is anyway: Try using <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre><input type="Hidden" name="buttonname" value="Go">[/code][/quote] |
|
#4
|
|||
|
|||
|
each form in JavaScript has method 'submit()'. it does the same action as button 'Submit'. you can call this method from any place of document. for example:
<form name='myForm' action='http://www.somehost.com/x.pl'> ... </form> ... <a href="javascript:document.forms['myForm'].submit()">...</a>. ------------------ xeon |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > How do I Hide Submit Button |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|