Store - baseParams with multiple values

  • Hi,

    I have a curious question. I'm using HttpProxy with Store. Before every load (Store.beforeload event) I'm setting additional parameters to baseParams object (e.g. baseParams.foo = 'blah'), but how can I pass multiple values to one request parameter?

    So query string request would look like "foo=1&foo=2&foo=3".

    Yes, I know, I can use something like "foo=1,2,3", and it's a matter of server script parameters parsing, but I'm just curious.


  • couldn't that param be an array that you just push values onto?


  • so far as i know, you cant. an object can only have one member of a given name, so any subsequent assignments to that member will overwrite it.


  • couldn't that param be an array that you just push values onto?
    Yes, it works! So simple :"> =D>







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Store - baseParams with multiple values , Please add it free.

    My rights and duties- employer asks me to provide testimony in its civil lawsuit TU Settlement - Credit Inqury on my credit report