twitter/bootstrap — Issue #911: Typo in the tabs plugin instruction page
Author: platzhirsch
Created: 2012-01-06 13:07:52+00:00
State: open

On the instruction site how to use the bootstrap-tabs.js plugin (http://twitter.github.com/bootstrap/javascript.html#tabs) you write the following code in order to bind a change event:

```
$('#.tabs').bind('change', function (e) {
e.target // activated tab
e.relatedTarget // previous tab
})
```

Is the ***dot symbol*** between ***#*** and tabs correct in ***$('#.tabs')***? Because I receive the error: `Uncaught Syntax error, unrecognized expression: bootstrap-tabs`. Removing the dot everything is fine and seems to work correctly.