src of iframe

  • Thread starter Thread starter zhuang
  • Start date Start date
Z

zhuang

hi, if I set the src of iframe point to a pdf file on net work drive,
it shows the file properly when it is running, but when I change the
src to a different file, it just does not work, why?

Thanks for any advice
 
<div id="mydiv"></div>

<script language="javascript" type="text/javascript">

mydiv.innerhtml='<iframe id=MyIFrame src=default4.aspx></iframe>';

</script>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top