there do seem to be a bundle of vars that would be available to your callback function based on what is available to the 'preview' callback
var field = this; var $$ = $(field); var oId = $$.attr("id") || ""; var oClassName = $$.attr("class") || ""; var oTitle = $$.attr("title") || ""; var oName = $$.attr("name") || ""; On Jan 14, 10:32 pm, bennybobw <[EMAIL PROTECTED]> wrote: > I'm trying to extend jTagEditor to add a image dialog with more fields > (source, title, height, width, etc.). The only problem is that I don't > know how to access any of the jTagEditor functions/properties from > within my callback function so that I can insert my string into the > textarea when my dialog is closed. > > The relevant part of the jtag source looks like: > <code> > function tag(button) { > > get(); > > // if it's a function to fire > > if ($.isFunction(eval(button.callBack))) > { > > eval(button.callBack).call(); > > } > etc... > </code> > > Does anyone have experience with this? Thanks. > > -bennybobw