Hello Uma,

Monday, July 22, 2002, 8:09:44 AM, you wrote:


UST> Hello,

UST>  I need to display a value on the text box during onClick event where the
UST> data is fetched from the database..I have given the code like this but it
UST> is giving unterminated string constant..


UST> <input type=text name=text1 onClick=(dd.value="<? echo $correct; ?>");


UST> Can anyone please tell me how to solve this ... 


UST> Thanks & Regards,
UST> Uma



Hi,

Try to use:
<input type="text" name="text1"
       onClick="dd.value='<? echo $correct; ?>';">

-- 
Best regards,
 Zoltan                            mailto:[EMAIL PROTECTED]


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

Reply via email to