SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Jul 2004
    Location
    Brooklyn, NY
    Posts
    316
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to pass an array via Ajax post

    Per Dan's request (below) I am reediting this post..

    Problem: How do you pass an array through an Ajax request?

    Solution: I was using jQuery to handle the Ajax requests, and realized that jQuery also offers a serialize function for form data.

    I'm still not sure how to effectively pass an array through an Ajax request (i.e. no form data to serialize), so if anyone has any suggestions please post them..
    Last edited by knopix; Apr 9, 2008 at 14:54.

  2. #2
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What was your problem, and how did you manage to fix it? (We don't delete threads because people ask us to, and we also don't recommend people to erase their threads either - we instead prefer they remain up so others can learn from them.)

  3. #3
    SitePoint Addict
    Join Date
    Jul 2004
    Location
    Brooklyn, NY
    Posts
    316
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dan, I reedited the post and added the original problem along with my workaround.

  4. #4
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That works, too.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •