Discussion:
src frame
(too old to reply)
aa
2009-06-11 19:47:24 UTC
Permalink
Hello,how i in javascript write this code of vbscript ??
window.parent.document.all.item("SpanMsgbox").src = "GrabarReferido.asp"
becouse not work if i write in javascript.
Thanks in advance
Joe Fawcett
2009-06-17 09:16:15 UTC
Permalink
As far as I can see it would be the same so I think there's another reason
it's failing.
document.all is IE specific though, try:
window.parent.document.getElementById("SpanMsgBox").src =
"GrabarReferido.asp"

Seems strange though, is SpanMsgBox a frame or an image or what?
--
Joe Fawcett (MVP - XML)
http://joe.fawcett.name
Post by aa
Hello,how i in javascript write this code of vbscript ??
window.parent.document.all.item("SpanMsgbox").src =
"GrabarReferido.asp"
becouse not work if i write in javascript.
Thanks in advance
Loading...