jQuery UI Widgets Forums General Discussions Re-Initilize the Window

This topic contains 3 replies, has 2 voices, and was last updated by  Hristo 2 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Re-Initilize the Window #100640

    Dave_1
    Participant

    Hi,

    am using jqxwidow in my app, where I am using jqxwidow as a popup on multiple pages, but when I navigate from one page to another page the function present on jqxwidow do not fire any event.

    is there any solution for it?

    Re-Initilize the Window #100644

    Hristo
    Participant

    Hello Dave_1,

    You could try to bind to the class of this component. ($('.jqx-window').on('open', function (event) {}))
    Also, I would like to suggest you look at this forum topic where have a suggestion on the similar discussion:
    https://www.jqwidgets.com/community/topic/re-initilize-the-window/

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Re-Initilize the Window #100655

    Dave_1
    Participant

    I have two buttons on jqxwindow, one is for saving data another is for a closing window, I cant use $('.jqx-window').on('open', function (event) {}), it will close the window again.

    Re-Initilize the Window #100665

    Hristo
    Participant

    Hello Dave_1,

    The example that I provided you was only suggestion to bind to a class. With this, you could bind to all windows.
    But it is strange because when you create one window you could bind an event to it in the moment of the creation.
    Could you clarify it? It will be better if you could provide us with a simple example that demonstrates this case.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.