[Proto-Scripty] Newbie - trying out prototype .js Ajax.request - getting status=0 responseText=

2013-11-24 Thread blumus
Hi: I'm a newbie to html, js and protype.js. I've written a small script to try out Ajax.request. $(sendFormSimple) .observe( submit, function(e) {

Re: [Proto-Scripty] Newbie - trying out prototype .js Ajax.request - getting status=0 responseText=

2013-11-24 Thread Phil Petree
Php on the back end? What headers are you sending back? On Nov 24, 2013 7:53 AM, blumus leiman.bar...@gmail.com wrote: Hi: I'm a newbie to html, js and protype.js. I've written a small script to try out Ajax.request. $(sendFormSimple) .observe(

Re: [Proto-Scripty] Newbie - trying out prototype .js Ajax.request - getting status=0 responseText=

2013-11-24 Thread blumus
Using Java *Here is the header code from Java* public void handle(HttpExchange t) throws IOException { System.out.println(Received Request from+t.getRemoteAddress().getHostString()); // set headers *Headers headers =

Re: [Proto-Scripty] Newbie - trying out prototype .js Ajax.request - getting status=0 responseText=

2013-11-24 Thread Phil Petree
Let me fire up my laptop and look at some code I have... I'm returning xml and it seems there was something I had to do differently but I don't recall what (or if) it was... On Nov 24, 2013 9:00 AM, blumus leiman.bar...@gmail.com wrote: Using Java *Here is the header code from Java* public