[jQuery] Re: thickbox reloaded question

2008-02-01 Thread Eridius
I have this code: $('a.fare_finder_link').bind('click', function() { $('#fare_finder_form').submit(); if($('#fare_finder_form input[name=validated]').val() === 'true') { alert('test'); var url_query = $('#fare_finder_form').form_to_string(

[jQuery] Re: thickbox reloaded question

2008-02-01 Thread Klaus Hartl
Yes, it is also possible with Thickbox Reloaded and pretty easy and straight forward: var $thickbox = $('a.thickbox').thickbox(); $thickbox.trigger('click'); --Klaus On Feb 1, 9:45 pm, Eridius <[EMAIL PROTECTED]> wrote: > I am wanting to trigger a thickbox after I validate a form.  Basically

[jQuery] Re: thickbox reloaded question

2008-02-01 Thread Alexandre Plennevaux
hi eridius, if you look at the thickbox code, this is what it takes to launch a thickbox tb_show("title","url","gallery"): $(domChunk).click(function(){ var t = this.title || this.name || null; var a = this.href || this.alt; var g = this.rel || false; tb_show(t,a,g); this.blur(); r