|
Answer» Heres my code:
function Navigate(uri) { D1.document.location = uri; }
it says on line 3 ("D1.document.location = uri;") access is denied after I navigate..
Uh. Help?What is "D1" and where is it DEFINED?
Is it a JAVASCRIPT error or PHP error?Javascript error.
And D1 is:
Try this method instead:
Code: [SELECT]function navigate(uri) { document.getElementById("frame1").SRC = uri; }
Just give the iframe an ID of frame1.
|