Contents of an Iframe [RESOLVED]
I am trying to use VBScript to get the contents of an IFRAME, but I am having no luck. Can someone point me in the right direction on this, I am just trying to populate a textbox with the HTML generated by the IFRAME, but I am getting an Invalid property error. Here is what I have so far:
Code:
<html>
<head></HEAD>
<BODY>
<form name="Test">
<iframe name="fraTest" src="me.asp" id="fraTest"></iframe>
<Input name="txtTest" value="A">
<script language="VBScript">
<!-- start of VBscript hide from old browsers
document.forms(0).txtTest.value = fraTest.innerHTML
-->
</script>
</Form>
</body>
</html>