W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: A URL API

From: Devdatta Akhawe <dev.akhawe@gmail.com>
Date: Tue, 21 Sep 2010 08:38:45 -0700
Message-ID: <AANLkTi=j+-mXhTEtbT2uakrhN1P7knu8CMYGEeDq4uPx@mail.gmail.com>
To: Adam Barth <w3c@adambarth.com>
Cc: Ojan Vafai <ojan@chromium.org>, Darin Fisher <darin@chromium.org>, Garrett Smith <dhtmlkitchen@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, WebApps WG <public-webapps@w3.org>
>
> Perhaps appendParameter("x", "a", "b", "c") ?
>

where appendParameter is the second API  - separate from setParameter?

so appendParmeter("x',"a","b","c"); setParameter("x","a")
would result in ?x=a

and without the second function call it would be
?x=a&x=b&x=c

I am fine with this.

cheers
devdatta

> Adam
>
Received on Tuesday, 21 September 2010 15:39:40 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:40 GMT