i got a html for js function .and use jquery ui -tabs.

```
<ul>
 <li><a href="#tabs-1">MenueTree</a></li>
 <li id="liConfigCustomer"><a href="#tabs-2">ConfigCustomer</a></li>

</ul>
 <div id="tabs-1"><input type='button' value='test' id ='betTest'></div>
 <div id="tabs-2"><input type='button' value='test' id ='betTest2'></div>

```

there got a js func, when i click button 'betTest' do something and auto turn to tabs-2,
how to write the function?