On Fri, 22 Mar 2002, Erik Price wrote:
> I have noticed that pressing enter in IE does achieve the same effect as 
> pressing the "submit" button for my forms.  But I have also heard that 
> it's not really "the same", especially if there are more than one 
> "submit"-style inputs for the given form.  What does Enter "really" do 
> in IE?

To be safe, I usually include a hidden variable with a unique name in the 
form (<input type="hidden" name="whichform" value="login">). That way, no 
matter what browsers do about the Enter key, I still know what's going on.

miguel


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

Reply via email to