[jQuery] Re: How to apply tabs to content loaded by ajax

2007-10-15 Thread sukhminder
Below is the code I am using and the file contents: Menu from where file is being loaded on being clicked: Batala Include file and javascript: function loadContent(filename) { $("#contentbox").load(""+filename+""); $("#contentbox #city

[jQuery] Re: How to apply tabs to content loaded by ajax

2007-10-12 Thread Adrian Lynch
In the call back for the load, select the new loaded content and apply $("#showcontent#citytabs ul").tabs(); Show more code if that doesn't clear things up. Adrian On Oct 12, 1:47 pm, sukhminder <[EMAIL PROTECTED]> wrote: > Hi All, > > I am loading an .html file using ajax and then trying to do

[jQuery] Re: How to apply tabs to content loaded by ajax

2007-10-12 Thread Klaus Hartl
On 12 Okt., 14:47, sukhminder <[EMAIL PROTECTED]> wrote: > Hi All, > > I am loading an .html file using ajax and then trying to do: $ > ('#tabholder > ul').tabs(); > > to apply tabbing but am unable to do it. > > I am loading content is the div like: > > and my .html file looks somewhat like: >