W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2009

[whatwg] [html5] r3793 - [e] (0) <noscript> example

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 15 Sep 2009 08:16:19 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0909150816030.14605@hixie.dreamhostps.com>
On Thu, 10 Sep 2009, Simon Pieters wrote:
> > +
> > +   <p>When script is enabled,
> 
> disabled.

Fixed.

> > a button appears to do the calculation
> > +   on the server side. When script is enabled, the value is computed
> > +   on-the-fly instead.</p>
> > +
> > +  </div>
> 
> Please add another example showing how to do the same thing without <noscript>
> (i.e. swapping the submit button for the output paragraph replaceChild). This
> is a better technique because <noscript> is unaware of whether the script was
> successful, and also <noscript> is not supported in XHTML.

Done.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 15 September 2009 01:16:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:52 UTC