Thank you Klaus

this seems to work:

        // setup view
   $('#selview a').click(function() {
         Ext.get('browseView').load({
                url: 'view.php',
                scripts: true,
                params: 'v='+this.id,
                text: 'Please wait - loading view...',
                callback: function() {TB_init()}
         });
   });


On Apr 3, 11:34 am, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> mmjaeger schrieb:
>
>
>
>
>
> > Hello,
>
> > I got a little issue with the thickbox plugin;
>
> > this is the code I got: <code>
>
> >    $('#selview a').click(function() {
> >     var ajax = Ext.get('browseView').load({
> >            url: 'view.php',
> >            scripts: true,
> >            params: 'v='+this.id,
> >            text: 'Please wait - loading view...',
> >            update: TB_init()
> >     });
> >    });
> > </code>
>
> > I'm getting a list with images back using the above ajax called - now
> > I like to apply the thickbox behaviour to those images - all links
> > have the css class "thickbox". although the TB_init() gets executed,
> > it doesn't work.
>
> > any help to get this to work is appreciated.
>
> > thank you
>
> I think you have to pass a function reference and not a call for update:
>
> update: TB_init
>
> -- Klaus- Hide quoted text -
>
> - Show quoted text -

Reply via email to