In jQuery, $.bind("propertychange", callback)
is not available within Firefox, how can I solve this?
Thanks
eventually, I use this to fulfill:
if ($.browser.msie) {
$this.unbind("propertychange").bind("propertychange", function(e) {
e.preventDefault();
bindTrigger();
});
}
else {
document.getElementById(_acBoxCtrlID).addEventListener("input", bindTrigger, false);
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…