I am working with jQuery Validate and Tabs plugins. I wish to validate a particular tab when the user attempts to move away from the tab to one of the other 2 tabs. Does anyone have experience with this particular method?
Currently, this is how I bind the Tabs plugin:
$(function() {
//Bind Link Tab Selection
//------------------
var $tabs = $("#tabs").tabs();
$('#step1_button').click(function() {
$tabs.tabs('select','2');
return false;
});
$('#step2_button').click(function() {
$tabs.tabs('select','3');
return false;
});
//------------------
//------------------
//Bind Tabs
//------------------
$("#tabs").tabs({
fx: {width:'toggle'}
});
//------------------
//------------------
});