AllExperts > Experts 
Search      

Javascript

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Javascript Answers
Question Library

Ask a question about Javascript
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Anthony Levensalor
Experience
I have been programming in Java and Javascript since 1998. I run a web development company that specializes in Ajax front ends with PHP/MySQL back ends. I am a Sun Certified Java 2 Developer, and have done nothing but web applications for the last two years in my business

Past/Present clients
Monster.com, Compuware Corporation, Flextronics International, Pragmatech Software, Open Travel Software, The Loss Mitigation Institute, Raw Story Media, Page One News Media.

 
   

You are here:  Experts > Computing/Technology > Focus on JavaScript > Javascript > ajax

Topic: Javascript



Expert: Anthony Levensalor
Date: 10/22/2007
Subject: ajax

Question
I'm learning about serialization under Ajax.  My question is about the ways you can send data from a client to server.  In other words, when we a talking about Ajax, do GET and POST belong to HTTP 1.1 request methods?  Or do these methods belong to the XMLHttpRequest obj.  I believe that their part of the HTTP 1.1 request methods protocal.  And if so then do the verious ways to serialize data depend on the HTTP request protocal defined?  So for example, if I want to use POST data to a server, would I just then look up the protocal for HTTP 1.1 request method POST?

And I have a question about server-side responses?  I realize that  Ajax uses either responsetext or responsexml.  Does the responsetext method accept only a string of HTML, XML and just a string of text?

~tony
Thank you and God Bless

Answer
In the first part, look here for sending POST via Ajax:http://forums.invisionpower.com/index.php?showtopic=167812&hl=

I also googled "send post via ajax", and came up with a ton of tutorials and links.

I don't know what you're asking in the second part, sorry.

~A!

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.