Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1025
Jquery and webDropDown
posted

Hi,
I'm writing some common javascript code for navigating away from the page.
i wrote the code on window.onbeforeclose() event this code is executed when i click on the webdropdown button
to open the list of items while it should not call this event.
to come over this problem I tryied to set some class on the controls where i dont wnat this event to fire
but the jQuery addClass does not work with infragistic controls and hasClass always returns null
what can i do to identify the controls in jQuery and code accordinglly whatever solution u suggest should be applicable to all the
controls with set and get as i want to set some property and then check it again on Onbeforeclose() event and if the property is set i wount fire that
code. The best solution will be if the dropdown not fire the OnBeforeClose event.

 

 

Parents Reply Children
No Data