Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>λ</title>
  <link rel="stylesheet" href="http://code.jquery.com/ui/jquery-ui-git.css">
  <script src="http://code.jquery.com/jquery-1.5.2.js"></script>
  <script>$.uiBackCompat = false;</script>
  <script src="http://code.jquery.com/ui/jquery-ui-git.js"></script>
</head>
<body>
  <div id="tabs">
    <ul>
      <li><a href="http://jsbin.com"><span>Tab 1</span></a></li>
      <li><a href="http://jsbin.com"><span>Tab 2</span></a></li>
    </ul>
  </div>
</body>
</html>
 
$( "#tabs" ).tabs({
  load: function( event, ui ) {
    ui.tab.find( "span" ).html( "test" );    alert('fsdhas');
  }
});
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers