On Sep 22, 9:04 pm, RobG <robg...@gmail.com> wrote: [...] > e.g. something like > > function addOne() { > numChanged++; > } > var numChanged = 0; > var inputs = document.getElementsByTagName('input'); > var i = inputs.length; > while (i--) { > inputs[i].onchange = numChanged; Ooops: inputs[i].onchange = addOne; > } > inputs = null; -- Rob
- [jQuery] 'this' keyword in a custom object Alex Wibowo
- [jQuery] Re: 'this' keyword in a custom object RobG
- [jQuery] Re: 'this' keyword in a custom object RobG