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

[whatwg] Targetting different anchors after submitting the form

From: Mikko Rantalainen <mikko.rantalainen@peda.net>
Date: Tue, 07 Mar 2006 12:34:52 +0200
Message-ID: <440D61CC.30809@peda.net>
Ric Hardacre wrote:
> Ian Hickson wrote:
>> On Mon, 6 Mar 2006, Mikko Rantalainen wrote:
>>> Perhaps something along the lines
>>>
>>> <form action="url">
>>> <input name="foo" type="submit" anchor="xfoo">
>>> <input name="bar" type="submit" anchor="xbar">
>>> </form>
>> With WF2 you can just do:
>>
>>    <form action="url">
>>     <input name="foo" type="submit" action="url#xfoo">
>>     <input name="bar" type="submit" action="url#xbar">
>>    </form>
>>
> 
> indeed:
> 
> 2.17. Extensions to the submit buttons
> 
> ...
> In some cases, authors would like to be able to submit a form to 
> different processors, using different submission methods, or not 
> replacing the form but just updating the details with new data. For this 
> reason, the following attributes may be used on submit buttons: action, 
> method, enctype, replace, and target.
> ...

I did check the spec but somehow I missed that. Thanks for pointing 
it out. I just hit the problem yesterday and I was wondering which 
kind of support for this kind of feature I should be expecting in 
the future, so I can make our internal application framework to be 
ready for it.

-- 
Mikko
Received on Tuesday, 7 March 2006 02:34:52 UTC

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