i have this code, how can i create this into $form->input
with onfocus and onblur ?



<input type="text" name="username" size="18" alt="Username" value="Username"
onblur="if(this.value=='') this.value='Username';"
onfocus="if(this.value=='Username') this.value='';" />
                                                                

-- 
View this message in context: 
http://www.nabble.com/form-input-tp21128732p21128732.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to