现有一个页面,内容如下:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<script language="javascript">
function Ajaxget(){
createXmlHttp();
xmlHttp.onreadystatechange=callback;
xmlHttp.open("GET","http://www.bjfcdt.gov.cn/getAwardNumber.aspx?date=2010-08-06&reflash=0",true);
xmlHttp.send(null);
}
var xmlHttp;
function createXmlHttp(){
if(window.XMLHttpRequest){
xmlHttp=new XMLHttpRequest();
}else{
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
}
}
function callback(){
if(xmlHttp.readyState==4){
divstr.innerHTML=xmlHttp.responseText;
}
}
</script>
<body>
<input type="button" onclick="Ajaxget()" value="click" />
<div id="divstr" ></div>
</body>
</html>另外有个C#做的桌面应用程序,该程序用来收集上面页面的内容,
现在问题是,这个程序怎么能够获得上面页面中按钮点击后,添加到“divstr”中的内容
注:
不可以让程序直接访问Ajax指向的页面,如上面的"http://www.bjfcdt.gov.cn/getAwardNumber.aspx?date=2010-08-06&reflash=0"有高手知道怎么做么?
跪求!!!