[thelist] How to Redirec.

Simon Willison cs1spw at bath.ac.uk
Wed Aug 13 03:59:56 CDT 2003


Hi Steve,

Tuesday, August 12, 2003, 9:03:07 PM, you wrote:
> <img src="/images/somegif.gif" onClick="javascript:
> redirect('/members/somepage.asp')>

Just for the record, you don't need to specify javascript: in an
onclick attribute - in fact it could cause breakage in some browsers.
onclick and other event attributes can just take normal javascript
statements and function calls.

Cheers,

Simon
-- 
http://simon.incutio.com/



More information about the thelist mailing list