Trouble with SpeedScript

Posted by Admin on 05-Apr-2010 08:39

How I can send XML file from my web site to Server through a Command "Post" (not using button "Submit")?

All Replies

Posted by Admin on 13-May-2010 07:46

Try XMLHttpRequest() or better still, use a framework such as Prototype or jQuery which creates nice wrappers for you and handles many of the cross-browser headaches.

e.g. using Prototype... (Note: Not tested!)

    new Ajax.Request(myURL,
      {
        contentType: 'text/xml',
        method: 'post',
        postBody: myXML,

        onComplete: function() {
          alert("done!");
        }
      });

Regards

Posted by Admin on 19-May-2010 00:29

Thanks a lot...

This thread is closed