[jQuery] Re: .ready(), Rhino and HttpUnit

2007-09-13 Thread Rob Desbois
Thanks for the replies - it's not just .ready() though, it seems to be all events. Without the ability to use one of addEventListener and attachEvent jQuery can't bind events to anything, which makes it all a bit less useful :-( On 9/12/07, Brandon Aaron [EMAIL PROTECTED] wrote: I think you

[jQuery] Re: .ready(), Rhino and HttpUnit

2007-09-13 Thread Jörn Zaefferer
Rob Desbois schrieb: Thanks for the replies - it's not just .ready() though, it seems to be all events. Without the ability to use one of addEventListener and attachEvent jQuery can't bind events to anything, which makes it all a bit less useful :-( Shouldn't HttpUnit provide the necessary

[jQuery] Re: .ready(), Rhino and HttpUnit

2007-09-12 Thread Rob Desbois
Ok I've enlightened myself a little: I tried it with jQuery 1.2 and discovered that the line number changed - it's not a line number in httpUnit as I thought (understandably I think!) but in jQuery. In jQuery 1.2 it's line 1613 (but is reported as 1612), which is the else statement in this part

[jQuery] Re: .ready(), Rhino and HttpUnit

2007-09-12 Thread Sean Catchpole
Hi Rob, .ready() won't work in Rhino since there is no page to wait if it's ready. Everything else should work just fine. ~Sean On 9/12/07, Rob Desbois [EMAIL PROTECTED] wrote: Ok I've enlightened myself a little: I tried it with jQuery 1.2 and discovered that the line number changed - it's

[jQuery] Re: .ready(), Rhino and HttpUnit

2007-09-12 Thread Brandon Aaron
I think you might be able to use John's modified version of Rhino that acts like a browser. Where it is I'm not sure but it wasn't that long ago that he wrote it. -- Brandon Aaron On 9/12/07, Sean Catchpole [EMAIL PROTECTED] wrote: Hi Rob, .ready() won't work in Rhino since there is no page