[whatwg] http://whatwg.org/demos/repeat-01/

Christian Schmidt wrote:
> The demo on http://whatwg.org/demos/repeat-01/ claims to have 
> "server-side fallback for legacy clients". But the fallback doesn't work 
> in IE6 - the form doesn't submit. Is this intended?

That's because IE has failed to default to type="submit" for unknown 
type attribute values.  i.e. In current browsers, <button type="add"> 
and <button type="remove"> is supposed to equivalent to <button 
type="submit">.  But in IE, it's equivalent to <button type="button">.

The functionality can still be provided using JavaScript, or 
alternatively implementing the buttons using conditional comments like this:

<!--[if !IE]>--><button type="add">Add (!IE)</button><!--<![endif]-->
<!--[if IE]><button type="submit">Add (IE)</button><![endif]-->

Lachlan Hunt

Received on Thursday, 1 June 2006 07:16:12 UTC