Solved

Can user pass array or object to ajax POST or GET

Posted on 2014-09-16
2
325 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to implement server side field validation and display customized error messages to the client.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

739 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