• Re: Message between "child?" documents

    From =?UTF-8?Q?Jonas_Th=C3=B6rnvall?=@21:1/5 to All on Fri Dec 3 20:47:46 2021
    lördag 4 december 2021 kl. 05:46:16 UTC+1 skrev Jonas Thörnvall:
    lördag 4 december 2021 kl. 05:34:14 UTC+1 skrev Jonas Thörnvall:
    lördag 4 december 2021 kl. 05:24:11 UTC+1 skrev Jonas Thörnvall:
    I have a main document with several child documents as iframes.
    I have had no problem passing between child and parent, but now i want to mass message between two child documents, but i get error message that the iframe document does not exist?

    So how should i pass the message between the childs.
    This message
    MultiID.document.getElementById("MVOL").value=CCvol;
    Is sent from an iframe named SYNTHED , function.

    I also tried
    parent.MultiID.document.getElementById("MVOL").value=CCvol;
    Passing a message between parent and child document is easy, just. parent.document.getElementById("MVOL").value=CCvol; //From child to parent MultiID.document.getElementById("MVOL").value=CCvol; //From parent to child

    But howto pass from child to child?
    I tried to find information but the information i find do just not apply? Must i really pipe the call/message via a function within Parent??? MultiID->parent->Synthed???
    That seem ugly need to invoke a parent function to pass it between them?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Jonas_Th=C3=B6rnvall?=@21:1/5 to All on Fri Dec 3 20:46:10 2021
    lördag 4 december 2021 kl. 05:34:14 UTC+1 skrev Jonas Thörnvall:
    lördag 4 december 2021 kl. 05:24:11 UTC+1 skrev Jonas Thörnvall:
    I have a main document with several child documents as iframes.
    I have had no problem passing between child and parent, but now i want to mass message between two child documents, but i get error message that the iframe document does not exist?

    So how should i pass the message between the childs.
    This message
    MultiID.document.getElementById("MVOL").value=CCvol;
    Is sent from an iframe named SYNTHED , function.

    I also tried
    parent.MultiID.document.getElementById("MVOL").value=CCvol;
    Passing a message between parent and child document is easy, just. parent.document.getElementById("MVOL").value=CCvol; //From child to parent MultiID.document.getElementById("MVOL").value=CCvol; //From parent to child

    But howto pass from child to child?
    I tried to find information but the information i find do just not apply?
    Must i really pipe the call/message via a function within Parent??? MultiID->parent->Synthed???

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Jonas_Th=C3=B6rnvall?=@21:1/5 to All on Fri Dec 3 20:34:10 2021
    lördag 4 december 2021 kl. 05:24:11 UTC+1 skrev Jonas Thörnvall:
    I have a main document with several child documents as iframes.
    I have had no problem passing between child and parent, but now i want to mass message between two child documents, but i get error message that the iframe document does not exist?

    So how should i pass the message between the childs.
    This message
    MultiID.document.getElementById("MVOL").value=CCvol;
    Is sent from an iframe named SYNTHED , function.

    I also tried
    parent.MultiID.document.getElementById("MVOL").value=CCvol;
    Passing a message between parent and child document is easy, just. parent.document.getElementById("MVOL").value=CCvol; //From child to parent MultiID.document.getElementById("MVOL").value=CCvol; //From parent to child

    But howto pass from child to child?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Jonas_Th=C3=B6rnvall?=@21:1/5 to All on Fri Dec 3 20:24:05 2021
    I have a main document with several child documents as iframes.
    I have had no problem passing between child and parent, but now i want to mass message between two child documents, but i get error message that the iframe document does not exist?

    So how should i pass the message between the childs.
    This message
    MultiID.document.getElementById("MVOL").value=CCvol;
    Is sent from an iframe named SYNTHED , function.

    I also tried
    parent.MultiID.document.getElementById("MVOL").value=CCvol;

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Jonas_Th=C3=B6rnvall?=@21:1/5 to All on Fri Dec 3 21:03:21 2021
    lördag 4 december 2021 kl. 05:47:50 UTC+1 skrev Jonas Thörnvall:
    lördag 4 december 2021 kl. 05:46:16 UTC+1 skrev Jonas Thörnvall:
    lördag 4 december 2021 kl. 05:34:14 UTC+1 skrev Jonas Thörnvall:
    lördag 4 december 2021 kl. 05:24:11 UTC+1 skrev Jonas Thörnvall:
    I have a main document with several child documents as iframes.
    I have had no problem passing between child and parent, but now i want to mass message between two child documents, but i get error message that the iframe document does not exist?

    So how should i pass the message between the childs.
    This message
    MultiID.document.getElementById("MVOL").value=CCvol;
    Is sent from an iframe named SYNTHED , function.

    I also tried parent.MultiID.document.getElementById("MVOL").value=CCvol;
    Passing a message between parent and child document is easy, just. parent.document.getElementById("MVOL").value=CCvol; //From child to parent
    MultiID.document.getElementById("MVOL").value=CCvol; //From parent to child

    But howto pass from child to child?
    I tried to find information but the information i find do just not apply? Must i really pipe the call/message via a function within Parent??? MultiID->parent->Synthed???
    That seem ugly need to invoke a parent function to pass it between them?
    Well instead of send message from child, i decided to let child call a function in parent that will send the message to the other child.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From luserdroog@21:1/5 to jonas.t...@gmail.com on Fri Dec 3 21:05:46 2021
    On Friday, December 3, 2021 at 11:03:25 PM UTC-6, jonas.t...@gmail.com wrote:
    lördag 4 december 2021 kl. 05:47:50 UTC+1 skrev Jonas Thörnvall:
    lördag 4 december 2021 kl. 05:46:16 UTC+1 skrev Jonas Thörnvall:
    lördag 4 december 2021 kl. 05:34:14 UTC+1 skrev Jonas Thörnvall:
    lördag 4 december 2021 kl. 05:24:11 UTC+1 skrev Jonas Thörnvall:
    I have a main document with several child documents as iframes.
    I have had no problem passing between child and parent, but now i want to mass message between two child documents, but i get error message that the iframe document does not exist?

    So how should i pass the message between the childs.
    This message
    MultiID.document.getElementById("MVOL").value=CCvol;
    Is sent from an iframe named SYNTHED , function.

    I also tried parent.MultiID.document.getElementById("MVOL").value=CCvol;
    Passing a message between parent and child document is easy, just. parent.document.getElementById("MVOL").value=CCvol; //From child to parent
    MultiID.document.getElementById("MVOL").value=CCvol; //From parent to child

    But howto pass from child to child?
    I tried to find information but the information i find do just not apply?
    Must i really pipe the call/message via a function within Parent??? MultiID->parent->Synthed???
    That seem ugly need to invoke a parent function to pass it between them?
    Well instead of send message from child, i decided to let child call a function in parent that will send the message to the other child.

    That's sounds like what I would recommend.
    Function! Hurray. Functions always win.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Jonas_Th=C3=B6rnvall?=@21:1/5 to All on Fri Dec 3 21:28:39 2021
    lördag 4 december 2021 kl. 06:05:50 UTC+1 skrev luser...@gmail.com:
    On Friday, December 3, 2021 at 11:03:25 PM UTC-6, jonas.t...@gmail.com wrote:
    lördag 4 december 2021 kl. 05:47:50 UTC+1 skrev Jonas Thörnvall:
    lördag 4 december 2021 kl. 05:46:16 UTC+1 skrev Jonas Thörnvall:
    lördag 4 december 2021 kl. 05:34:14 UTC+1 skrev Jonas Thörnvall:
    lördag 4 december 2021 kl. 05:24:11 UTC+1 skrev Jonas Thörnvall:
    I have a main document with several child documents as iframes.
    I have had no problem passing between child and parent, but now i want to mass message between two child documents, but i get error message that the iframe document does not exist?

    So how should i pass the message between the childs.
    This message
    MultiID.document.getElementById("MVOL").value=CCvol;
    Is sent from an iframe named SYNTHED , function.

    I also tried parent.MultiID.document.getElementById("MVOL").value=CCvol;
    Passing a message between parent and child document is easy, just. parent.document.getElementById("MVOL").value=CCvol; //From child to parent
    MultiID.document.getElementById("MVOL").value=CCvol; //From parent to child

    But howto pass from child to child?
    I tried to find information but the information i find do just not apply?
    Must i really pipe the call/message via a function within Parent??? MultiID->parent->Synthed???
    That seem ugly need to invoke a parent function to pass it between them?
    Well instead of send message from child, i decided to let child call a function in parent that will send the message to the other child.
    That's sounds like what I would recommend.
    Function! Hurray. Functions always win.

    Well actually it do work to pass child to child document by use. parent.MultiID.document.getElementById("MVOL").value=CCvol;

    The dynamically created MVOL element was simply missing ' ' around it so it was never registered as an ID.
    But functions are nice. :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)