newbie question:[?] I want to trigger A's event when B is interacted with In jQuery it's as simple as
> $("#A").bind("click",function(){alert($(this).attr("id"))})
> $("#B").bind("click",function(){$("#test").trigger("click")})
>
But using this method in a greasemonkey script seeming not working[?]
Does any expert knows if there is a way to trigger other object's events
directly?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---
<<inline: 349.gif>>
<<inline: 361.gif>>
