Solved

Can user pass array or object to ajax POST or GET

Posted on 2014-09-16
2
304 Views
Last Modified: 2014-09-16
Dear experts,

I wish to know if user can pass an array or object to another page through ajax with POST or GET? Is it possible with JSON? Are there other ways?  Will manipulation of DOM object works?

I am trying to post the data of my table into an array and pass it to another php page with ajax.  Thanks
0
Comment
Question by:Kinderly Wade
2 Comments
 
LVL 58

Assisted Solution

by:Gary
Gary earned 250 total points
ID: 40326015
What kind of data?
The simple solution is to just use JSON
0
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 250 total points
ID: 40326168
JSON is the right tool.  In order to give a better answer we would need to see your test data.
http://json.org/
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now