Re: [PHPLIB] Challenge/Response Mechanism that works with all browsers. From: Stefano Bagnara (bago <email protected>)
Date: 12/09/99

you can try <FORM onSubmit="doChallengeResponse();" ...
or <A HREF="<htmpage>" onClick="doChallengeResponse(); return false;"></A>
or <INPUT TYPE="submit" onClick="doChallengeResponse();">

my preferred is the first to mantain the maximum backward compatibility.
javascript: in the HREF="" attr is not too much supported

- Stefano Bagnara (Data Sail S.r.l.)

> ---------------- Changed the submit button to be a link
> -------------------------
> <A HREF="javascript:doChallengeResponse();">login</A>
>
>
> I expirienced problems with some browsers if I still had a real
> form-submit button, thus
> I changed it to be a link that calls "javascript:".
>
>
> I submited the changes into the cvs tree, please someone QA my changes
> ;-)

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.