Hi All; In my tabbed application I've run across the need for buttons to be embedded in the tab. I thought I might be able to do this via a JS onClick call attatched to an image, ie:
<li><span>Tab <img onClick="javascript:doSomething()" /></span></li> which works just peachy in and of itself, but it would make it a lot easier if I could write a template for the new tab that is aware of it's creation context, something like: <li><a href="#{href}" title="dcPane"><span>#{label} <img src="/global/ images/nav/doSomething.png" onClick="javascript:doSomething(# {tabID})" /></span></a></li> Is this possible without editing the jQuery source? Maybe through the add event handler? Thanks for any ideas! Matt Walker --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---