Solved

Can user pass array or object to ajax POST or GET

Posted on 2014-09-16
2
317 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 110

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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 invoke it on a web page. 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.: (CODE)

685 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