[jQuery] Re: TESTING: replicate event bubbling in tests

2009-01-01 Thread Dave Methvin
jQuery 1.3 supports event bubbling for trigger()ed events, give it the beta a try and see if it does what you want. There's a post here with the link.

[jQuery] Re: TESTING: replicate event bubbling in tests

2009-01-01 Thread nachocab
Right, so how can I replicate clicking on the scan (as I would do in the browser). Is there a way to do something like $ ("#myDiv").withTarget("#myScan")? On Dec 31 2008, 9:42 pm, Kean wrote: > $('#myScan').click()  does not have event binded to it. > It means fire myScan's click events, think v

[jQuery] Re: TESTING: replicate event bubbling in tests

2008-12-31 Thread Kean
$('#myScan').click() does not have event binded to it. It means fire myScan's click events, think very straightforward in this case. On the other hand, when you click on myScan it fires myDiv event because of bubbling. On Dec 31, 11:40 am, nachocab wrote: > Hi, > I was wondering how I could r