try  '&' as delimiter.

see: http://en.wikipedia.org/wiki/Query_string
and: 
https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Functions/encodeURIComponent

regards, toby


2009/5/12 vkrejcirik <[email protected]>:
> I need to create more properties with HTTP request. When I send HTTP request
> with query string, which contents only one property, it's ok.
> I don't know, how can I separate more properties. (I tried coma and
> semicolon )
>
> example:
>
> var queryString = "newContent=" + newContent + ";mep=" + mep + ";endpoint="
> + endpoint;
>
> xmlHttp = createXMLHttpRequest();
> xmlHttp.onreadystatechange = processSave;
> xmlHttp.open("POST", url, true);
> xmlHttp.setRequestHeader("Content-Type",
> "application/x-www-form-urlencoded;");
> xmlHttp.send(queryString);
>
> Thanks.
>
> --
> /**************************************/
> Best regards / S pozdravem
> Vladislav Krejčiřík
>
> http://www.vkrejcirik.info
>
>

Reply via email to