1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    734
    Likes Received:
    37
    Trophy Points:
    0
    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,283
    Likes Received:
    364
    Trophy Points:
    83

Share This Page