jQuery UI Widgets › Forums › Dialogs and Notifications › Window › window close callback
Tagged: jquery dialog, jqxwindow, window
This topic contains 16 replies, has 3 voices, and was last updated by Peter Stoev 12 years, 6 months ago.
-
Authorwindow close callback Posts
-
I was bind close callback to window but it is not triggering on close of window…!
Hi kongaraju,
The following demo shows how to use jqxWindow’s events: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxwindow/jquery-window-events.htm?classic
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comclose callback not firing in my case
Please, post a sample which demonstrates your scenario. Also make sure that you use version of jQuery after 1.6 and the latest version of jQWidgets.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com$('#rtcv').jqxWindow({ height : 300, width : 320, minHeight : 100, maxHeight : 600, maxWidth : 500, theme : 'darkblue', autoOpen : false, showCollapseButton : true, resizable : true }) $('#rtcv').bind('close', closecallback);
I am expecting to trigger callback when when user click on window close button.
Hi kongaraju,
Did you try the sample that I posted? I am asking about that because in the sample the window is bound to the close event and it is triggered when the user clicks the window’s close button. If you have a different scenario, please post a sample which reproduces the erroneous behavior, because the provided code works fine on our side. Thank you in advance!
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comsample is working fine but why my scenario is not working? is there any mistakes in my side?
Or
tell me possibilities to not to work the bind event …!
Hi kongaraju,
Please post a small sample(htm page with JS code) which reproduces the erroneous behavior, because the provided code works fine on our side. Thank you in advance!
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comMe also got same problem. Bledy baffons written this jqxwidgets. They dont even know the possibilities of failure or checking conditions of the code.
Hi guys,
The following demo shows how to use jqxWindow’s events: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxwindow/jquery-window-events.htm?classic. The demo shows that the event works fine. If it does not work on your side, send us a sample which demonstrates the behavior you are reporting and we will test it. As we can’t reproduce it locally, we can’t help regarding it.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comI was already pasted my code and again pasting it. Close callback not triggering.
<div id="rtcv"> <div class="vidtitle"> Konga raju </div> <div> <!-- some elements--> </div> </div>$('#rtcv').jqxWindow({ height : 300, width : 320, minHeight : 100, maxHeight : 600, maxWidth : 500, theme : 'darkblue', autoOpen : false, showCollapseButton : true, resizable : true }) $('#rtcv').bind('close', closecallback);
I think no difference in calling the close callback then why my callback not triggering.
I am not having different scenario of calling close callback. Then please explain me how to check is there any failure of triggering callback.
That is not a complete sample which we can run locally. This is a part of a sample and it does not help us for reproducing the issue. We need a sample(web page with JS + HTML code) which we can run and which reproduces the issue. If you could provide such, we will be happy to debug it and test whether there’s an issue or not.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThen look at my demo
http://www.antkorp.in/jqx_window.html
the events never calling..!
whats wrong in it?
Please respond quickly.
Hi kongaraju,
At first, you are using jQWidgets v2.2.1(June-18). The current version is 2.5(Oct-17). The second issue is that your page is missing DOCTYPE header.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.