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

[whatwg] JavaScipt in output?

From: Simon Pieters <zcorpan@gmail.com>
Date: Mon, 05 Mar 2007 19:58:09 +0100
Message-ID: <op.toqca72l7a8kvn@hp-a0a83fcd39d2>
On Mon, 05 Mar 2007 19:53:22 +0100, Elliotte Harold  
<elharo at metalab.unc.edu> wrote:

> Consider this example of the output element from the spec:
>
> <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>
>
>
> 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?

It's covered in Web Applications 1.0:  
http://www.whatwg.org/specs/web-apps/current-work/#event2

-- 
Simon Pieters
Received on Monday, 5 March 2007 10:58:09 UTC

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