[whatwg] <isindex prompt>

Martijn martijn.martijn at gmail.com
Tue Feb 20 02:08:40 PST 2007


2007/2/20, Anne van Kesteren <annevk at opera.com>:
> I think the parsing algorithm should take the prompt="" attribute of
> <isindex> in account. It replaces the string of characters placed before
> the <input> element with its contents. (In that case there will be no
> characters after the <isindex> element.)

Also, there is an action attribute, so I think it would be wise to
include that one too, I don't think I see it mentioned at:
http://www.whatwg.org/specs/web-apps/current-work/#isindex

This:
<html><head></head>
<body>
<isindex action="http://google.com">
<script>
alert(document.forms[0].action);
</script>
</body>
</html>

alerts 'http://google.com' in IE7.

Regards,
Martijn



More information about the whatwg mailing list