jquery - Making a tab sleeted on an event -


i making tabs using $("#tabs").tabs();

but have button on page on clicking button 3rd tab should made selected. how can that?

use active options of tab ...doc here try this

 $('#buttonid').click(function(){      $("#tabs").tabs({ active: 2 }); //2 because zero-based index of panel   }); 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -