W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] JavaScipt in output?

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Mon, 05 Mar 2007 13:53:22 -0500
Message-ID: <45EC6722.3020604@metalab.unc.edu>
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!
Received on Monday, 5 March 2007 10:53:22 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC