書式
GXmlHttp.create()
			
				
説明
					通信用のオブジェクト(インスタンス)を生成します。Internet ExplorerはActive X、他のブラウザはXMLHttpRequest()での通信になります。
				
			
				
				
				<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
			<html xmlns="http://www.w3.org/1999/xhtml">
			 <head>
			 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
			 <title>Google Maps API2 Sample</title>
			 <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAasAJryKxWJnBFVJa487d9hTHGAxTVT7IRADYa-JdYz7xQ8IQZBSthgDZdggYpQHsmm6WYtHstQFfLA" type="text/javascript"></script>
			 <script type="text/javascript">
			 //<![CDATA[
			   httpObj = GXmlHttp.create();
			   httpObj.open("GET", "test.txt");
			   httpObj.onreadystatechange = function() {
			    if (httpObj.readyState == 4) alert(httpObj.responseText);
			   }
			   httpObj.send(null);
			  //]]>
			 </script>
			 </head>
			 <body>
			 </body>
			</html>