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

[whatwg] Targetting different anchors after submitting the form

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 6 Mar 2006 20:08:14 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0603062007370.315@dhalsim.dreamhost.com>
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>

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 6 March 2006 12:08:14 UTC

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