Is it possible to call two javascript functions on one html event? -
i'm trying this:
<textarea onfocus = "myfunction(1)" onblur = "myfunction(0); return submitform();">
is possible?
yes syntax wrong, see edited textarea:
<textarea onfocus="myfunction(1);" onblur="myfunction(0); return submitform();"> ^------ ^-------- small letter important
a yet better way attach jquery event handlers, or similiar different preferred framework.
Comments
Post a Comment