[whatwg] JavaScipt in output?

Elliotte Harold elharo at metalab.unc.edu
Mon Mar 5 10:53:22 PST 2007

Consider this example of the output element from the spec:

   <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>

This is probably an obvious question, but is the language inside the 
onforminput attribute JavaScript? Is this stated anywhere in the WF2 
spec? Are there any restrictions on what you can put in such an attribute?

Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!

More information about the whatwg mailing list