I have develop a new panel for firebug lite and also define domplate inside
it.I have some list boxes inside that domplate and i call a function when
change the value of that. But it is not possible get value of the list box
using "event.target".My function shown as below.(my list box work fine and
it is also called the function when change the value of it)
*//listbox for select equal or like*
listbox:
SELECT({onchange:"$listSelect"},
OPTION({VALUE:"equal"},"equal"),
OPTION({VALUE:"like"},"like")
),
*//action for listbox changes *
listSelect: function(event){
var check=event.target;
if(check.value=="like"){
alert("like");
}
else{
alert("equal");
}
},
--
You received this message because you are subscribed to the Google
Groups "Firebug" 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
https://groups.google.com/forum/#!forum/firebug