[whatwg] <output> and onforminput
Doron Rosenberg
doronr at gmail.com
Sun Jun 20 08:26:54 PDT 2004
<form>
<p>
<input name="a" type="number" step="any" value="0"> *
<input name="b" type="number" step="any" value="0"> =
<output name="result" onforminput="value = a.value * b.value">0</output>
</p>
</form>
First of all, why isn't it "this.value = a.vlaue * b.value"? I am
assuming that the contents on onforminput are ECMAScript (I can't find
anywhere in the spec where it defines that), is that right? Using
"this" would be more backwards compat (and could be easily implemented
in say IE).
More information about the whatwg
mailing list