|
|
 |
Re: FN-FORUM: Javascript onchange() etc
date posted 1st September 2006 15:24
On Friday 01 September 2006 15:25, Rob Garbutt wrote:
> Hi all,
>
> I'm validating a form and have used onchange="check_integer()" to fire off
> that function. onchange only seems to work when you click outside of the
> input box.
>
> Is there another way of doing it so that the function gets fired off as
> soon as a character is inserted into the input box?
>
You could probably use onkeypress().
Did you manage to get your number validation working?
Cheers,
Richard
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard Lewis
Sonic Arts Research Archive
http://www.sara.uea.ac.uk/
JID: [EMAIL REMOVED]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
 |
|