[jQuery] Re: Overwrite div with .load()

2007-11-06 Thread ryanfitzer
Actually, the revision I posted works great, just seems a little long winded. Thanks for the advice though. Ryan

[jQuery] Re: Overwrite div with .load()

2007-11-05 Thread cjiang
Hi, I think your code should work if you change the $('tabs-content').load(content+' .entry'); to $('.tabs-content').load(content+' .entry'); On Nov 4, 2:24 pm, ryanfitzer <[EMAIL PROTECTED]> wrote: > I'm trying to create tabbed content (without a plugin for now) > via .load(). The initial p

[jQuery] Re: Overwrite div with .load()

2007-11-05 Thread ryanfitzer
Well, I figured it out but had to do a bit of reworking and compromising. I'm now calling all the needed pages upfront using load() instead of putting them in the click() handler. The solution is not the most efficient but it's a good starting place. If anyone has a better way I'd love to see it.