Andy,

I still don't know why the trigger click doesn't work. For me, it
doesn't work on Firefox and I wrote a greasemonkey script to do the
clicking via this code:

                        var evt = document.createEvent("HTMLEvents");
                        evt.initEvent("click", true, true);
                        targetClickElement.dispatchEvent(evt);

It's not a jQuery. but it solves my problem for now.

I think jQuery should be able to trigger all clickable element via $
('#elm').trigger('click');  Hope this get fixed soon.

Y

On Mar 7, 10:57 pm, Andy789 <e...@abcstudio.com.au> wrote:
> Thank you guys! I did not know that jquery can handle only its 'own'
> bound events. I will have to use mootools as it works fine. I just
> wanted to avoid mixing jquery and mootools in the same function.

Reply via email to