I am trying to read this source which is displayed when I right click on the webpage and click View Source.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/main.css" rel="stylesheet" type="text/css">
<link href="/main_new.css" rel="stylesheet" type="text/css">
<title>3/7B M61 QW17-MS3 - K SPUR</title>
<script>
function updateImage(){
document.images['camImage'].src = "/cctvpublicaccess/images/35237.jpg?sid=" + Math.random();
}
</script>
</head>
<body style="background-color: rgb(225,238,246);" onload="updateImage();">
<img src="" name='camImage' id='camImage' style='position: relative; top: 0;left:0;'></img>
<div align="center" style='position: relative;'><b>Camera: 35237 - 3/7B M61 QW17-MS3 - K SPUR</b>      <a href="#" onclick="updateImage();" title="Images are refreshed every 30 seconds">Refresh</a></div>
<div align="center" style='position: relative;'><b>The carriageway closest to the camera is Southbound</b></div>
</body>
</html>
I have tried:
WB1.Document.documentElement.innerHTMl
WB1.Document.documentElement.OuterHTML
WB1.Document.Body.InnerText
None of which display the source as displayed above. Can somebody please point me in the right direction with this.
[gray]Experience is something you don't get until just after you need it.[/gray]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/main.css" rel="stylesheet" type="text/css">
<link href="/main_new.css" rel="stylesheet" type="text/css">
<title>3/7B M61 QW17-MS3 - K SPUR</title>
<script>
function updateImage(){
document.images['camImage'].src = "/cctvpublicaccess/images/35237.jpg?sid=" + Math.random();
}
</script>
</head>
<body style="background-color: rgb(225,238,246);" onload="updateImage();">
<img src="" name='camImage' id='camImage' style='position: relative; top: 0;left:0;'></img>
<div align="center" style='position: relative;'><b>Camera: 35237 - 3/7B M61 QW17-MS3 - K SPUR</b>      <a href="#" onclick="updateImage();" title="Images are refreshed every 30 seconds">Refresh</a></div>
<div align="center" style='position: relative;'><b>The carriageway closest to the camera is Southbound</b></div>
</body>
</html>
I have tried:
WB1.Document.documentElement.innerHTMl
WB1.Document.documentElement.OuterHTML
WB1.Document.Body.InnerText
None of which display the source as displayed above. Can somebody please point me in the right direction with this.
[gray]Experience is something you don't get until just after you need it.[/gray]