Posts

Showing posts from September, 2013

Prevent Tab Selection on Condition in jQuery

Image
  if you want to stop user selecting a tab from the active tab based on a particular  condition or validations you can use the following code to do so. If you are new to jQuery, you can find more details on jQuery tab in the here. jQueryTab I have created the simple tab sample in jsfildler. http://jsfiddle.net/sammani/mgumC/ To handle the tab selection based on conditions is very simple.What you have to do is to call the “beforeActivate” event & return true or false based on the condition. you can find the sample code here. http://jsfiddle.net/sammani/mgumC/4/ Happy Coding !!!