Does anyone wanna explain to me why the following refuses to work?
<?php print "<a href=mailto:me@somewhere.com onMouseOver=\"window.status='email me'\">Email me</a>"; ?>
Instead of changing the status to 'email me' it changes the status to 'mailto:me@somewhere.com' as if the javascript was ignored. :\
I've had problems with mixing JavaScript and PHP together before since one's server-side and one's client-side but this one doesn't make sense since the server parses the php file and generates the html which if was of .html extension (ie. not a generated result of a php file) would actually work.
Any feedback on this will be much appreciated.