So instead of processing the return xml file, building javascript objects and coding a result you just call the eval(xmlhttpobject.responseText() );
and have the server send back
<response>
addopt2('aaron','held');
</response>
I like it!
Thanks, -Aaron
Nick Murtagh wrote:
Aaron Held wrote:
I tried this out, but you have to all of the xml processing on the client, and I thought it was easier to bypass this entirely. Now if there was an XML-RPC object......
No, read what I wrote! Generate a javascript object in string form on the server. No nasty XML. Eval the string on the client and, as if by magic, you have an object.
Nick
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss
