Form and enter key

From: Date: Tue, 08 May 2007 10:51:43 +0000
Subject: Form and enter key
Groups: php.windows 
Request: Send a blank email to php-windows+get-27835@lists.php.net to get a copy of this message
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

« previous php.windows (#27835) next »