Click to See Complete Forum and Search --> : CHALLENGE Maximizing AJAX class...


victorysshadow
10-20-2006, 06:25 PM
I am in the middle of writing my own AJAX class to make things easier on me... I have been successful thus far, but there is ONE ability that I would REALLY like... I would like to be able to do the following:


var xml = Ajax.SendAndReturn.send( "http://www.some-server-side-script.com", "q=12&user=me" );


I want to be able to return XML by making a request with one line of code... There are multiple reasons why this won't work the way I am doing it, but I was wondering if anyone has done it...

So it's pretty much a challenge. (Though it may just be for my personal well-being...) I am sure everyone else would want something like this too! I just can't think through it right now...

Thanks.

ebn