firefoxのonpropertychange代替案
361 ワード
<script type="text/javascript">
document.getElementById('foo').watch("value",
function (id, oldval, newval) {
console.log("foo." + id + " changed from " + oldval + " to " + newval);
return newval;
});
</script>