getElementById Inside an iframe

Discussion in 'Web Design, HTML And CSS' started by coderzone, Apr 11, 2011.

  1. coderzone

    coderzone Super Moderator

    Joined:
    Jul 25, 2004
    Messages:
    736
    Likes Received:
    38
    Trophy Points:
    28
    I want to get the Element Inside and source of an iframe page.

    For Example.

    In index page I load page1.html in an iframe. Inside Page1 we have few elements by id and I want to get a property of the Element for the page1. Something like

    <Something>getElementById('friendselector');

    is it possible?
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice