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
    Aug 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Ajax to Iframe Communication!

    Sorry, im dying here. found your forum and looking for any help i can get.

    what i have is a HTML page with three iframes, i can communicate between the IFRAMEs fine, but i have one form that calls a popup AJAX div for a sort of quick search of names in the db.. the AJAX works, the names pop up but what i need now is to pass that information from the AJAX div back to the IFRAME data element... this works.

    parent.document.getElementById('quickViewFrame').src

    (quickViewFrame being my iframe's name but on that frame is a page with a form with an element named referred_by that i need to pass data to... not working and not sure what the correct coding is for it.

    let me know if that made sense at all and thanks in advance for ANY help.


  • #2
    Regular Coder
    Join Date
    Feb 2005
    Posts
    679
    Thanks
    0
    Thanked 16 Times in 15 Posts
    Try:
    Code:
    parent.quickViewFrame.document.getElementById('referred_by').value


  •  

    Posting Permissions

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