PDA

View Full Version : how to make Function



jackavin
09-04-2007, 05:08 AM
onmouseup="this.style.backgroundColor='#FFFF00'" onblur="this.style.backgroundColor='';this.value=''"

i want to add this one for any textfield how can i make this function for shot code and how to use

thank you for ur help :)

rdutton
09-04-2007, 06:27 AM
I think this could help a lot:

http://www.bennolan.com/behaviour/
Using this you can add JavaScript functionality through style selectors.

Ryan