I have noticed something strange. I use the following command to simulate
click event of a radio button in my Firebug extension:
targetClickableElement.setAttribute('data-id','1');
//targetClickableElement is a radio button element
var str = "var element = jQuery('[data-id=1]',document).get(0);"+"\n";
str = str + "jQuery(element).trigger('click');";
Firebug.CommandLine.evaluate(str, Firebug.currentContext, null, null,
function(res) {}, function failure() { /* won't happen */ });
It works for some Websites (e.g.,
http://www.dressbydesign.com/dress/design) but not for all (e.g.,
http://www.mydogtag.com/#).
Ebrahim
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit
https://groups.google.com/d/msgid/firebug/62edb571-f9c5-43a8-b7f0-e2fd8a223729%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.