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>
//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>