[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 all fine! > I just had to change

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

2009-10-01 Thread smwithdm
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 all fine! I just had to change all load() to live()s. Once again, thank you and thank you to JQuery! - index.ht

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

2009-10-01 Thread Chrazy
You have to use the live() event. So instead of: $("#clickme2").click(function(){ $("#mainview").load("page03.html"); }); You write: $("#clickme2").live('click', function(){ $("#mainview").load("page03.html"); }); Functions will just work