[jQuery] Execute jQuery from links
Hi!
I wonder if it's possible to execute jQuery events directly from a
link, just like common javascript.
Something like this:
<a href="#" onclick="javascript:$("test").toggle();">test</a>
I'm aware that this doesn't work, but is there any way to execute it
like this instead of inserting a whole <script></script> block?
Thanks!