Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Can user pass array or object to ajax POST or GET

Posted on 2014-09-16
2
Medium Priority
?
344 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 1000 total points
ID: 40326015
What kind of data?
The simple solution is to just use JSON
0
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 1000 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
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 the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

824 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