[jQuery] Re: Can't load a page from a loaded page.

2009-10-01 Thread smwithdm
Sorry, I meant click()s to live(). On 10月1日, 午前10:49, smwithdm wrote: > Chrazy, > > Thank you for your great info! > > I changed it as you said but didn't work. > I so looked at the api reference and did some homework and changed it > to the following and worked

[jQuery] Re: Can't load a page from a loaded page.

2009-10-01 Thread smwithdm
You write: > >  $("#clickme2").live('click', function(){ >                  $("#mainview").load("page03.html"); >          }); > > Functions will just work with objects already in the DOM unless you > bind them with live. > > On

[jQuery] Can't load a page from a loaded page.

2009-10-01 Thread smwithdm
I'm trying to load a page using the .load(url) from an already loaded page, but nothing responds. Below is a simple sample page created to show what I want to accomplish. Also, I'm using JQuery 1.3. - index.html - $(document).ready(function() { $("#mainview").load("page01.html