How to auto select a tab on HTML button click by using the title of the tab instead of it's index. 
By using tab index it can be done like this:

```
$( ".selector" ).tabs( "option", "active", index_of_tab );

```

For details refer [this](https://stackoverflow.com/questions/16033490/microsoft-jscript-runtime-error-no-such-method-select-for-tabs-widget-instanc)

Is there any way to get tab id from tab title so that I can use the above code? Or is there any way to auto select a tab using tab name?