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 to the CF scene
    Join Date
    Apr 2009
    Location
    CT
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    triggering function from iframe

    i remember there being a way to trigger a function on the parent page from a button/link in an iframe. does anyone know the syntax? or what section of w3schools i should look at?

  • #2
    New to the CF scene
    Join Date
    Apr 2009
    Location
    CT
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    well, since noone is gonna reply... i figured it out by MYSELF!
    you can grab any object, id, name, anything from the main page via an iframe.
    all you do is: on the iframe you have function that says:
    Code:
    parent.document.getElementById('id').innerHTML ="****ing bull****";


  •  

    Tags for this Thread

    Posting Permissions

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