Questions tagged [ajax.request]

An Ajax request is an asynchronous call initiated by the browser that does not directly result in a page transition. A servlet request is a Java-specific term for servicing an HTTP request that could get a simple GET or POST or an Ajax request.

11 questions
5
votes
4 answers

Cross Origin Resource Sharing with PrototypeJS

I am having some trouble with Cross Origin Resource Sharing and Prototype. I have a simple post request to a foreign resource, and for a simple post request there are some rules that must be satisfied: the Content-Type must be on of…
hans
  • 1,297
  • 1
  • 13
  • 36
4
votes
4 answers

Best way to pass JSON from Browser to PHP using Ajax.Request

Hi I have a JSON object that is a 2-dimentional array and I need to pass it to PHP using Ajax.Request (only way I know how). ...Right now I manually serialized my array using a js function...and get the data in this format: s[]=1&d[]=3&[]=4 etc.…
Andrew
2
votes
2 answers

Using Authentication with Ajax.Request

I currently have a Palm WebOS application that uses an Ajax.Request to connect to a web service using basic authentication. To send the username and password, I simply include it in the url (i.e. http://username:password@ip-address:port/) which…
Nick DeMayo
  • 998
  • 2
  • 12
  • 23
2
votes
1 answer

ajax request function does not work when its called