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;
}
}
Code: Select all
function onSelectTab(i) {
if (something) {
alert('Complete the data before switching to the next tab');
return false;
}
}