jQWidgets Forums
jQuery UI Widgets › Forums › Navigation › Tabs › Prevent tab close › Reply To: Prevent tab close
Hello,
I’m a bit too late in this thread, but here comes my solution: I added a “beforeClose” event. If it returns false, tab closing is prevented.
Example has both initially rendered and dynamically created tabs.
http://jsfiddle.net/howe/HzJ73/
Best Regards,
Howe