Re: Using Javascript

From: Date: Sat, 27 Jul 2002 09:11:55 +0000
Subject: Re: Using Javascript
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-109946@lists.php.net to get a copy of this message
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:zolikonyves@home.ro

« previous php.general (#109946) next »