loading a simple text file in iframe
-
Hi guys, I am trying to load a text file into an iframe but I am keep getting an "Bad Request" error message. I couldn't figure it out where the problem is. Could anyone please help me up. pathFile="https://www.mysupport.com/myhosted/Data/MainFolder/testFolders1&Folder/t.txt" <iframe name="fraContent" id="fraContent" src="<%=pathFile%>" width=20% height=265 FRAMEBORDER="10"> </iframe> Thanks in advance
-
Hi guys, I am trying to load a text file into an iframe but I am keep getting an "Bad Request" error message. I couldn't figure it out where the problem is. Could anyone please help me up. pathFile="https://www.mysupport.com/myhosted/Data/MainFolder/testFolders1&Folder/t.txt" <iframe name="fraContent" id="fraContent" src="<%=pathFile%>" width=20% height=265 FRAMEBORDER="10"> </iframe> Thanks in advance
function setframeOriginal(url) { var eyeframe; eyeframe = document.getElementById('RSIFrame'); eyeframe.src='You Path'; } ;</x-turndown>
-
function setframeOriginal(url) { var eyeframe; eyeframe = document.getElementById('RSIFrame'); eyeframe.src='You Path'; } ;</x-turndown>
Thanks for replying but are you saying that i should explicitly assign value through the javascript. Do you thin it will make a difference? While I was assigning to the "scr" value of iframe. I have realized during a simple test that only those files get loaded where there is no & or ampersand sign in found in the file path. How should i deal with this issue. Thanks again
modified on Tuesday, June 22, 2010 11:14 AM