I have a web page where I need to extract some info that is located within a Javascript Variable. How do I extract the var?
I do not have much knowledge of VBA or DOM, but with the help of google I have learned how to open the website. However, I have hit a brick wall when trying to find info on how to extract javascript var.
I found this page: http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
but I don't know if that would help or not.
This is a very basic mock-up:
<html>
<title>Title</title>
<body>
<script language="JavaScript" type="text/javascript">
var sData = Array();
sData[0] = "I need this Info";
sData[1] = "I need this Info";
</script>
</body>
</html>
Bookmarks