Vanilla HTML:

<form method="get" action="http://google.com";>
    <input name="foo" type="checkbox" value="1" checked>
    <input name="foo" type="checkbox" value="2" checked>

    <select name="bar" multiple>
        <option selected>1</option>
        <option selected>2</option>
    </select>
    <input type="submit">
</form>

submit it to anywhere:

http://fiddle.jshell.net/KMPbs/2/show/light/

your browser will submit:

https://www.google.com/?foo=1&foo=2&bar=1&bar=2

This isn't a backend doing the encoding; this is your browser sending a GET
request. This is how things *normally* work.

On Tue, Feb 7, 2012 at 11:21 AM, Sanford Whiteman <[email protected]>wrote:

> > Ruby on Rails does this, Django does this, PlayFramework (Java MVC) does
> > this, I believe Spring/Hibernate environments do this. It's pretty
> standard.
>
> ASP,  ASP.NET,  CF  do  not  do  this  and are definitely in-the-wild.
> There's no standard.
>
> -- S.
>
>

Reply via email to