[jQuery] Re: load() not loading my dynamic page

2009-02-25 Thread eagleon
Thank you so much, that helps a lot ... and I finally got it working. For those wondering exactly what the solution looks like, its very simple: $(document).ready(function() { $("#existing_static_div").load("file", "", function(){ myFunc(); }); }); I run the code

[jQuery] Re: load() not loading my dynamic page

2009-02-25 Thread brian
Dynamically loading content takes some time to finish. Provide a callback function to load() and use that to manipulate #mydiv. http://docs.jquery.com/Ajax/load#urldatacallback On Wed, Feb 25, 2009 at 3:16 PM, eagleon wrote: > > one more thing following the above, ... if I check to see if the >

[jQuery] Re: load() not loading my dynamic page

2009-02-25 Thread eagleon
one more thing following the above, ... if I check to see if the dynamically loaded div exists, it does not.. if ( $("#existing_static_div").length > 0 ) { alert(" The ID exists"); } ...will alert that the ID exists... however, if ( $("#mydiv").length > 0 ) { alert(" The ID exists"); } ...will

[jQuery] Re: load() not loading my dynamic page

2009-02-25 Thread eagleon
Code Daemon, I hope you figured it out! I sure haven't yet... It does not happen to just tables, I tried this with divs, and still same result. In my case, I am trying to set the height of a dynamically loaded DIV. The load() function applies the height to any static div that is already on the pa

[jQuery] Re: load() not loading my dynamic page

2009-02-24 Thread jQuery Lover
Any news on this one ? Code Daemon, what was the problem ? Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Feb 19, 2009 at 3:21 PM, tomasz wawrzyniak wrote: > show fragment of your code (javascript) that is executed (and doens't work > in FF), > and oultine fragm

[jQuery] Re: load() not loading my dynamic page

2009-02-19 Thread tomasz wawrzyniak
show fragment of your code (javascript) that is executed (and doens't work in FF), and oultine fragment of html that declare the div. 2009/2/19 Code Daemon > > I hope I'm wrong. I'm not sure what you are asking though. > > The page I am loading is just HTML code with a object in it. > The AJAX

[jQuery] Re: load() not loading my dynamic page

2009-02-19 Thread Code Daemon
I hope I'm wrong. I'm not sure what you are asking though. The page I am loading is just HTML code with a object in it. The AJAX server response looks something like: It has no tags. Is this necessary? On Feb 19, 12:46 am, tomasz wawrzyniak wrote: > That makes no sense - its rather wron

[jQuery] Re: load() not loading my dynamic page

2009-02-19 Thread tomasz wawrzyniak
That makes no sense - its rather wrong formed html. Did you use Id or Name property to identify webpart? On 2/19/09, Code Daemon wrote: > > Seems more specifically that Firefox doesn't like objects > being loaded dynamically. I'm assuming the jQuery load() method is > ultimately a wrapper for t

[jQuery] Re: load() not loading my dynamic page

2009-02-18 Thread Code Daemon
Seems more specifically that Firefox doesn't like objects being loaded dynamically. I'm assuming the jQuery load() method is ultimately a wrapper for the innerHTML property? Looks like, at the very least I'm going to have to omit all my tables. On Feb 18, 10:56 pm, Code Daemon wrote: > It app

[jQuery] Re: load() not loading my dynamic page

2009-02-18 Thread Code Daemon
It appears that things work fine in IE, just not Firefox. Very strange. On Feb 5, 6:56 am, jQuery Lover wrote: > Maybe it's related to wrong content type being sent by your server !!! > > > Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com > > On Thu, Feb 5, 2009 at 7:42 PM,

[jQuery] Re: load() not loading my dynamic page

2009-02-06 Thread jQuery Lover
.html is static and the other one is generated dynamically... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Feb 5, 2009 at 10:21 PM, photogeek wrote: > > Beginner question but what is the difference between that .html page > and the "page" that you are trying t

[jQuery] Re: load() not loading my dynamic page

2009-02-05 Thread photogeek
Beginner question but what is the difference between that .html page and the "page" that you are trying to load? Thanks>> Photogeek On Feb 5, 8:56 am, jQuery Lover wrote: > Maybe it's related to wrong content type being sent by your server !!! > > > Read jQuery HowTo Resource  -  http://

[jQuery] Re: load() not loading my dynamic page

2009-02-05 Thread jQuery Lover
Maybe it's related to wrong content type being sent by your server !!! Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Feb 5, 2009 at 7:42 PM, eagleon wrote: > > I've been experiencing the same thing! I hop we can figure out a > workaround... > > This also applies

[jQuery] Re: load() not loading my dynamic page

2009-02-05 Thread eagleon
I've been experiencing the same thing! I hop we can figure out a workaround... This also applies to the $(document).ready() event... does not work on dynamic pages. On Feb 5, 3:21 am, Code Daemon wrote: > But $('#mydiv').load('my/page.html');    works just fine. > > On Feb 5, 12:16 am, Dea

[jQuery] Re: load() not loading my dynamic page

2009-02-05 Thread Code Daemon
But $('#mydiv').load('my/page.html');works just fine. On Feb 5, 12:16 am, Dean Barker wrote: > look at onLoad() > >   > > www.frameJockey.co.uk > i...@framejockey.co.uk > framejoc...@gmail.com > framejoc...@yahoo.com >  [image: Google Talk:] framejoc...@gmail.co

[jQuery] Re: load() not loading my dynamic page

2009-02-05 Thread Dean Barker
look at onLoad() www.frameJockey.co.uk i...@framejockey.co.uk framejoc...@gmail.com framejoc...@yahoo.com [image: Google Talk:] framejoc...@gmail.com [image: Y! messenger:] frameJockey 2009/2/5 Code Daemon > > When I use load(), it works fine for static pages