| |
Low Pro |
Hi,
I made a behavior for span elements that simply toggle themselfes
It works fine, but the problem is when this is used to show i.e. a
Do you have any other ideas how to solve it?
between add/cancel state and additionally toggle some element on the
page (i.e. a form) on onclick event - http://gist.github.com/118542.
form. In this case I'd like onclick event handler to be executed when
the form is submitted, so that I can hide the form and update span
element. The main problem is that I can't simply fire onclick event on
span element, which would solve the problem.