I\'d like to change the value of the onclick attribute on an anchor. I want to set it to a new string that contains JavaScript. (That string is provided to the
onclick
just use jQuery bind method !jquery-selector!.bind('event', !fn!);
See here for more about events in jQuery