How about a onSelectTab function?
Posted: Tue Jun 09, 2020 6:22 am
Hi guys,
How about an onSelectTab function that fires, when a tab is clicked?
This would work in the same way as nuBeforeSave. (if onSelectTab exists, it's called)
How about an onSelectTab function that fires, when a tab is clicked?
Code: Select all
function onSelectTab(i) {
if (something) {
alert('Complete the data before switching to the next tab');
return false;
}
}