Skip to content

Tag: jquery-events

Bind function to the onClick on other scope

I’m trying to bind a function to the anchor onclick attribute. I’m not using the traditional jQuery’s bind/live/on/whatever because I have some other scripts stopping the events propagation (it sucks, I know). To bind the function to the onclick attribute I’m passing a JSON object to a…