Better bind handlers afterward rather than inline them:
CmdUtils.CreateCommand({
name: 'test',
preview: function(pbl){
pbl.innerHTML = '<a href="#">Link</a>';
jQuery('a', pbl).click(function(){
displayMessage('clicked');
});
},
});
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ubiquity-firefox" 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/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---