Have you tried putting the second load into the callback of the first load? eg. $(document).ready(function(){ $("div#payments").load('account_rec_load.html',function(){ $("div#paytotal").load("payment_total_load.html"); });
John W wrote: > > > Ok so I have payment page. When the page loads I fill in a list of > payments within a div using .load, and within the page being loaded in > the div, I have another .load that feeds in a total box. This all > works great in FF2, but for some reason in IE7 the paybox doesnt not > display. > > So in the main page I load the list page using .load like so and it > works fine in both IE7 and FF2. > > > $(document).ready(function(){ > $("div#payments").load('account_rec_load.html',function(){ > return false; > }); > }); > > > Then in the 'account_rec_load.html' page I have a similiar load > function that just loads in a totals box using .load as well. This > works in FF but not IE7. I'm assuming its because the ajax loaded page > isnt actually being seen as loaded in IE7? Sorry Im not quite the > javascript guru. Any ideas why IE7 is treating this differently. > > $(document).ready(function(){ > $("div#paytotal").load("payment_total_load.html",function(){ > return false; > }); > }); > > > -- View this message in context: http://www.nabble.com/.load-issue-with-IE7-tf3833063s15494.html#a10865399 Sent from the JQuery mailing list archive at Nabble.com.