RE: Form and enter key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Maybe

onEnter="Javascript.,,,,"

Or maybe

onSubmit="Javascript...."

?

Best regards
/Gustav Wiberg
 

-----Original Message-----
From: Alf Stockton [mailto:alf@xxxxxxxxxxxxxx] 
Sent: Tuesday, May 08, 2007 12:52 PM
To: php windows
Subject:  Form and enter key

I have created an HTML form that contains an input type text field coded 
as:-
<input type=text name="CardNumber" id="CardNumber" 
onBlur="sendRequest('.$ClientData.",".$Event.',this.value)">

This calls an Ajax script that populates the rest of the HTML form.

This fields event is currently activated, in Firefox, via the TAB but 
the user has requested that the activation be altered to Enter.

The problem I have is that Enter is the default action for the form and 
I cannot think of a way to achieve what the user requires.

Suggestions please.

-- 
Regards,
Alf Stockton		www.stockton.co.za

Your boyfriend takes chocolate from strangers.
My email disclaimer is available at www.stockton.co.za/disclaimer.html

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux