[jQuery] Re: jqMock - mock library for jqUnit / QUnit

2008-09-07 Thread Kenneth Ko
Hi Colin, Really great to hear back from you! Regarding your question, jqMock can test that functions on one particular object are executed in a particular order (see section on "Ordered and Unordered Expectations" in user guide). However, the ordering is maintained within the mock for that obj

[jQuery] Re: Manipulate Element After Being Added to DOM

2008-01-21 Thread Kenneth Ko
>From what you described, you are adding the element after you have bound an event. So your code is really doing: 1. bind function to click event of some element 2. add some element to the dom you can clearly see the event wont get attached to the element. you'll either have to call the code ag