Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2003
    Posts
    82
    Thanks
    0
    Thanked 0 Times in 0 Posts

    load a url in a iframe

    hello

    I,ve this iframe in my page with another page loaded in it. How can I load another page from within that second page.

    I've tried this:

    document.getElementById("myIframeId").src="url" from a button but didn't work at all.
    I can identify the iframe id with

    document.getElementById("myIframeId").id

    but just wont work.

    thanks

  • #2
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Use location or href as opposed too src....


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •