Summary


Communicating information from a script to a server is trivial: simply instantiate an object taking a URL source and put the information in the URL. Two-way communication is a bit trickier. The approaches range from externally linked << script >>s that return content, to << iframe >> s or even XMLHTTP objects. Regardless of the method chosen , some care must be taken to ensure that remote JavaScript-based Web applications are programmed in an extremely defensive manner and do not block waiting for content or fail due to unforeseen network issues.




JavaScript 2.0
JavaScript: The Complete Reference, Second Edition
ISBN: 0072253576
EAN: 2147483647
Year: 2004
Pages: 209

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net