[whatwg] Targetting different anchors after submitting the form

Ian Hickson ian at hixie.ch
Mon Mar 6 12:08:14 PST 2006


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list