[jQuery] Re: tabs: replacing the content without switching the selected tab

2008-02-16 Thread [EMAIL PROTECTED]
Thanks, Klaus. Another 5 star post. - On Feb 15, 6:20 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Try: > > $('#replaceContent').click(function() { >     $('#tabcontent div.ui-tabs-panel:visible').html('hello'); > > }); > > --Klaus > > On Feb 15, 11:24 pm, "[EMAIL PROTECTED]" > > > > <[EMAIL PRO

[jQuery] Re: tabs: replacing the content without switching the selected tab

2008-02-15 Thread Klaus Hartl
Try: $('#replaceContent').click(function() { $('#tabcontent div.ui-tabs-panel:visible').html('hello'); }); --Klaus On Feb 15, 11:24 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > Let's say I have these tabs and code that makes them so ... > > >         $(function() { >