Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9184143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:58:23+00:00 2026-06-17T18:58:23+00:00

Does anybody here knows how do I use jQuery.param to create an object with

  • 0

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:

var p = {
    cod: cod.val(),
    name: name.val()
};
var param = jQuery.param(p);
$.ajax({
    type: "POST",
    url: "SomeASP.asp",
    data: param 
});

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:

Dim cod, name
cod = Request("cod")
name= Request("name")

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T18:58:25+00:00Added an answer on June 17, 2026 at 6:58 pm

    You do not need jQuery.param(p);.

    Simply do:

    var p = {
        cod: cod.val(),
        name: name.val()
    };
    
    $.ajax({
        type: "POST",
        url: "SomeASP.asp",
        data: p 
    });
    

    In this case jQuery will serialize p correctly and on server side you will be able to do

    Dim cod, name
    cod = Request("cod")
    name= Request("name")
    

    UPD:

    Not sure how ASP will handle such request. In asp.net it would be:

    string[] = Request["phones[]"].Split(",");
    

    Possibly something like that you will need to do in classic asp.

    But if no, you may join phone numbers on client:
    var p = {
    cod: cod.val(),
    name: name.val()
    };
    p.phones = [‘phone1’, ‘phone2’].join(“,”)//you should receive string like “phone1,phone2”
    $.ajax({
    type: “POST”,
    url: “SomeASP.asp”,
    data: p
    });

    and than on server side:

    Dim cod, name, phones
    cod = Request("cod")
    name= Request("name")
    phones = Request("phones")
    phonesArray = phones.Split(",") //not sure how exactly this line will be in classic asp, but idea should be clear
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anybody know a Windows based searching tool that is easy to use and
Does anybody know what tool used while podcasts were recorded here: http://www.asp.net/mvc/application-development/ For example
Does anybody know if the CUDA library 'Thrust' can generate random numbers on the
Does anybody know a good place to learn how to use the debugger in
Does anybody know how I can enable line numbers for Ruby (and Ruby on
Does anybody know a Perl library that can parse XML documents and enables me
Does anybody know what will happen to Knockout's default template engine now when jQuery.tmpl
Does anybody know how to use the REST Library for Robot Framework? The library
Does anybody out there know how to use Ninject with a WCF webHttp Service
Does anybody please know how to center-align the tabs in jQuery UI tabs ?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.