[jQuery] Re: Building HTML and binding to an inner element.

2007-04-17 Thread Jesse Skinner
I just submitted a patch for this bug. As a temporary workaround, you could fix this by using an anonymous function wrapper, like so: el.bind('click', data, function() { return my_func.apply(this, arguments); }); or in the context of your example: $( ""+ "["+task.client.code+"] "

[jQuery] Re: Building HTML and binding to an inner element.

2007-04-17 Thread dec
On Apr 17, 8:22 pm, dec <[EMAIL PROTECTED]> wrote: > Hi list, > > I'm trying to add items to an unordered list using jQuery. This is > something triggered by another event, so it cannot be done within my > HTML templating engine whilst building the page. > > I also wish to add an 'a' element withi