|
 |
javascript thread: SV: RE: Form submit...
Message #1 by "SD-Studios" <info@s...> on Wed, 12 Jun 2002 00:43:23 +0200
|
|
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C2119B.6FF363A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<body onkeydown=3Dfunc()>
-----Original Message-----
From: SD-Studios [mailto:info@s...]
Sent: Tuesday, June 11, 2002 3:52 PM
To: javascript
Subject: [javascript] SV: RE: Form submit...
And how do I call the function from the textbox? =3D)
--
MVH, Martin Johansson
CEO & Project Supervisor
SD-Studios, Squaremedia HB
+46 (0)70-3003320
http://www.sd-studios.com <http://www.sd-studios.com/>
http://www.swehost.com <http://www.swehost.com/>
-----Ursprungligt meddelande-----
Fr=E5n: Stas [mailto:stas@z...]
Skickat: den 12 juni 2002 00:39
Till: javascript
=C4mne: [javascript] RE: Form submit...
Try to use onkeydown event in your textbox and check for Enter
e.g. (I think Enter's code is 13)
function textbox_onkeydown()
{
if (window.event.keyCode =3D=3D 13)
{
yourForm.submit();
}
}
Stas
-----Original Message-----
From: SD-Studios [mailto:info@s...]
Sent: Wednesday, June 12, 2002 1:25 AM
To: javascript
Subject: [javascript] Form submit...
Hi!
I have a problem. I use a script to get text to work as a submit. The
only
problem with this is that if you press enter, form wont submit, like it
would have done with a submit-button... How can I fix this? Thanks!
--
MVH, Martin Johansson
CEO & Project Supervisor
SD-Studios, Squaremedia HB
+46 (0)70-3003320
http://www.sd-studios.com <http://www.sd-studios.com/>
http://www.swehost.com <http://www.swehost.com>
--- Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogram
me
r-20 Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogram
me
r-20 Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogram
me
r-20 ---
to
unsubscribe send a blank email to
--- Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogram
me
r-20 Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogram
me
r-20 Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogram
me
r-20 ---
to
unsubscribe send a blank email to
--- Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogram
me
r-20 Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogram
me
r-20 Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogram
me
r-20 ---
to
unsubscribe send a blank email to
|
|
 |