Talk:XPCNativeWrapper
From GreaseSpot Wiki
var arInputs=document.getElementsByTagName('input'); // does not work for (var elmInput in arInputs) { ... } // does work var elmInput; for (var i=0; elmInput=arInputs[i]; i++) { ... }
Shouldn't this be:
var arInputs=document.getElementsByTagName('input'); // does not work for (var elmInput in arInputs) { ... } // does work var elmInput; for (var i=0; i < arInputs.length; i++) {elmInput=arInputs[i]; ... }