| Page 1 of 1 | [ 2 posts ] |
Khoa Bui
|
The scenario is that:
- The tabview has 2 tabs, every tab has a form for user to input and save information. User input some data on tab 1 but do not save, then he click tab 2. The code listen to 'selectionChange' on the tabview, and detect that there is an incomplete action on tab 1, then display a popup to inform user about incomplete operation, user can choose to ignore or come back to tab 1 to finish. - If user choose continue working on tab 1, how can I ignore tab 2 peacefully and stay on tab 1? |
|
If you listen for beforeSelectionChange, then you can use e.halt() in your event handler.
|
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group