Is there a way to insert javascript into <input>, <textarea>, etc?
I need to insert these two attributes:
onmouseover="javascript:return element_over(this, 'hover');"
onmouseout="javascript:return element_out(this, 'hover');"
Thanks a lot.
Is there a way to insert javascript into <input>, <textarea>, etc?
I need to insert these two attributes:
onmouseover="javascript:return element_over(this, 'hover');"
onmouseout="javascript:return element_out(this, 'hover');"
Thanks a lot.
You can't set onmouseover directly but you can get it with short JavaScript code. Here is jQuery code sample.
Thanks for the example code and the plugin.
This topic has been closed to new replies.