[jQuery] Re: Scoping selector to parent window

2007-11-07 Thread Robert O'Rourke
cjiang wrote: Hi, What you can do is like the following: $(#i-agree).click(function(){ window.opener.$(#accept-terms).attr(checked,checked); window.close(); }); regards, Changsu Thanks Changsu, sorry about the late response. Works beautifully now. Cheers, Rob

[jQuery] Re: Scoping selector to parent window

2007-11-06 Thread cjiang
Hi, What you can do is like the following: $(#i-agree).click(function(){ window.opener.$(#accept-terms).attr(checked,checked); window.close(); }); regards, Changsu On Nov 6, 5:23 am, Robert O'Rourke [EMAIL PROTECTED] wrote: Hi everyone, I've got a quick question, say I