Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #111914

    I crete a popup window with

    var window = document.createElement(“smart-dialog-window”);

    and I append it to the current document.

    On that window I put a button, when  I click it I pass the window to a function.

    In that function I try to get the parent window with window.windowParent but is null (window is not null)

    Why ?

    How can I get the parent window and operate on it ?

    Tks

    #111915
    Markov
    Keymaster

    Hi,

    windowParent is null by default unless you set it to something like “container1” where container1 is ID of a container element.

    Regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.