[jQuery] Re: weird issue with ready event

2009-01-19 Thread graphicsxp
thanks for helping. It turns out I was still on 1.2.6, so i've installed 1.3 but that didn't fix my problem. Actually it brought more issues as I've noticed a few new bugs in my application. I'm rolling back to 1.2 ! On 19 jan, 11:50, Sergei wrote: > I had a similar problem today in MSIE7 with

[jQuery] Re: weird issue with ready event

2009-01-19 Thread Sergei
I had a similar problem today in MSIE7 with 1.3: http://groups.google.com/group/jquery-en/browse_thread/thread/e4d9128b377c3ac9# Look into this: http://dev.jquery.com/changeset/6120 It solved my problem. On Jan 19, 7:21 pm, graphicsxp wrote: > Here's exactly the code I wrote : > >  var pop =

[jQuery] Re: weird issue with ready event

2009-01-19 Thread graphicsxp
Here's exactly the code I wrote : var pop = window.open("PrintList.aspx"); if ($.browser.msie) { $(pop.document).ready(function() { $("#list", pop.document).html('hello'); }); } else { $(pop).load(function() { $("#list", pop.document).html('hello'); }

[jQuery] Re: weird issue with ready event

2009-01-19 Thread graphicsxp
actually it does work in Firefox ! The problem is in IE (7.0). Any idea ? On 19 jan, 10:46, graphicsxp wrote: > Thanks for the tip. That didn't do anything though. I've tried >  $(pop).load(fn)  and  $(pop)._load(fn)  as there seems to be two > functions called load (one relates to AJAX). > > A

[jQuery] Re: weird issue with ready event

2009-01-19 Thread graphicsxp
Thanks for the tip. That didn't do anything though. I've tried $(pop).load(fn) and $(pop)._load(fn) as there seems to be two functions called load (one relates to AJAX). Anyway, I still can't get this to work. On 16 jan, 17:14, Ricardo Tomasi wrote: > I've seen this before, it seems the 'r

[jQuery] Re: weird issue with ready event

2009-01-16 Thread Ricardo Tomasi
I've seen this before, it seems the 'ready' doesn't fire on opened windows or frames, you have to use $(pop).load(fn) instead. On Jan 16, 1:11 pm, graphicsxp wrote: > Hello, > > I'm trying to set the html content of a DIV (id='list') which sits in > a page opened with window.open : > > var pop =