I worked some more on our DVD sharing application today. I wanted to play with submitting form data to the database via client side script rather than a regular form submission. I've done this on other place of our intranet using the Msxml2.XMLHTTP object. Basically i use javascript to post a message to the server in the form of an XML document and the server then replies with an XML document which i parse to see if my request was processed successfully. It works just fine in IE. In our efforts to be more standards-savvy, our development group has been slowing using Firefox more and more for testing and development and i knew that solution wouldn't work with the Mozilla family of browsers (they don't like "new ActiveXObject").
A little searching online turned up a project called Sarissa. Basically it's a javascript wrapper that will give you a cross browser way to create a client side DomDocument or XmlHTTPRequest. You can check out some samples of how it works. So far, it's working wonderfully.
Posted by Matthew at April 30, 2004 02:01 PM