jQuery.param with lists

graha.hosting

New Member
Does anybody here knows how do I use jQuery.param to create an object with a list of phone numbers and how do I supose to recover that in classical ASP?I use $.ajax to send to an ASP page the parametres. Usually what I do is something like that:\[code\]var p = { cod: cod.val(), name: name.val()};var param = jQuery.param(p);$.ajax({ type: "POST", url: "SomeASP.asp", data: param });\[/code\]I using var param = jQuery.param(p); because my string can contain any character, like & or ? or spaces. And than I recover the information at "SomeASP.ASP" by doing this:\[code\]Dim cod, namecod = Request("cod")name= Request("name")\[/code\]The main problem is: Now I have to send a list o phone numbers to "SomeASP.asp".I read the documentation and notice that I can send a more complex object than I demonstrate above, but I have no idea of how to send and to recover these items.I appreciate any help! Sorry for my poor english.[]'s
 
Back
Top