Hi all,

I have a script that contains an iFrame. When the script loads the iFrame runs a MySQL query that populates the iFrame. The query also produces a variable containing the number of rows found.

What I would like to do is pass the number of row found back to the parent and display it. My variable is $totalRows_Overdue.

Is this possible.

Many thanks in advance for your time.

Cheers.

    NogDog;11054403 wrote:

    Of possible help, particularly if the containing page and the iframe are on different domains: https://github.com/mdx-dev/inception

    Hi Nogdog,

    Many thanks for your reply. The iFrame is on the same domain as it's parent. I think the use of "inception" is a little overkill. I have read that its possible using Javascript but I am not sure if thats possible.

    I will keep reading the web to see if I can find out how.

    Again, many thanks.

      Write a Reply...