Hi Marc,
local loIE, lnRun
loIE = createobject("internetexplorer.application")
loie.navigate2("d:\f\mist\Dyn.htm")
loIE.Visible = .t.
wait window "Loading" timeout 2
? loIE.document.all.length
for lnRun = 0 to loIE.document.all.length-1
*-- zero based Collection
? loIE.document.all.item[m.lnRun].innerText
next
works fine for me with an existing file like
[!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"]
[html]
[head]
[SCRIPT LANGUAGE=javascript]
function txtwrt(mytxt){
document.designmode = "On";
document.write (mytxt);
}
[/SCRIPT]
[/head]
[body]
[script]
txtwrt("I am a script in the body")
[/script]
[p]Normal text.[/p]
[p]I am the next paragraph[/p]
[button type="BUTTON" name="Butt1" value="Valu" onclick='txtwrt("I am the click.")'][/button]
[/body]
[/html]
you will have to change the tag-delimieters back
<=[, >=],
HTH
thomas
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only