I'm trying to turn some regular buttons in radio buttons the twitter bootstrap way (http://twitter.github.com/bootstrap/javascript.html#buttons).
I followed the instructions, but when I press the buttons I get the following error in the console:
Uncaught Error: cannot call methods on button prior to initialization; attempted to call method 'toggle' .
Do you know what might cause it? The buttons are loaded in the page and only become visible when the corresponding content is displayed by AJAX.
Thanks!
bootstrap-button.js
orbootstrap.js
? – Bangup