brianj wrote:
> The page doesn't bomb but the onfocus
> still doesn't function. wtf how do i make it work??
Disclaimer: I don't know JavaScript.
Maybe you get more comprehensive answers in a JavaScript newsgroup.
<?php
echo 'onfocus="this.value=\'write something here\'"';
echo "onfocus=\"this.value='write something here'\"";
$double_quote = '"';
$single_quote = "'";
echo 'onfocus=', $double_quote, 'this.value=', $single_quote,
'write something here', $single_quote, $double_quote;
?>
--
Mail sent to my "From:" address is publicly readable at
http://www.dodgeit.com/
== ** ## !! !! ## ** ==
TEXT-ONLY mail to the complete "Reply-To:" address ("My Name" <my@address>) may
bypass the spam filter. I will answer all pertinent mails from a valid address.