[whatwg] JavaScipt in output?

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