Using Javascript

From: Date: Mon, 22 Jul 2002 05:09:44 +0000
Subject: Using Javascript
Groups: php.general 
Request: Send a blank email to php-general+get-108817@lists.php.net to get a copy of this message
Hello, I need to display a value on the text box during onClick event where the data is fetched from the database..I have given the code like this but it is giving unterminated string constant.. <input type=text name=text1 onClick=(dd.value="<? echo $correct; ?>"); Can anyone please tell me how to solve this ... Thanks & Regards, Uma

« previous php.general (#108817) next »