javascript获取指定路径的网页源代码

<script language="javascript">
//function aa() 
{
 
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  xmlhttp.open(
"GET","http://192.168.103.103:7001/FlowEngineWeb/workflow/Awake.jsp",false);
  xmlhttp.send();
  document.write(xmlhttp.responseText);
}

</script>
posted @ 2007-06-13 21:06  blueKnight  Views(2436)  Comments(0Edit  收藏  举报