[thelist] javascript form question

Bruce Gilbert webguync at gmail.com
Wed Jul 5 12:45:57 CDT 2006


I have a form in which I am using PHP to submit, but I would also like
to change the input background when the mouse is clicked within that
field with CSS if possible and not sure exactly how to do it. I
believe it would be an onClick event.

An example of code for the input field would be:

<input name="name" type="text" class="form_text" id="name"
value="<?=$name ?>" />

thanks for any assistance.

Bruce Gilbert



More information about the thelist mailing list