|
Title: Cancelling a tab selection Post by: sectioni on April 09, 2017, 06:51:43 AM Hello,
I would like to do a 'confirm' dialog when switching tabs and only if OK i pressed, then the new tab should be selected and the 'onSelect' and 'onUnselect' events will be triggers. I have not found a way of doing that... Title: Re: Cancelling a tab selection Post by: stworthy on April 10, 2017, 08:02:18 AM Please attach the 'onBeforeOpen' event handler to each tab panels.
Code: <script> Title: Re: Cancelling a tab selection Post by: sectioni on April 12, 2017, 03:45:49 AM Works perfectly.
|