Just starting to play around with bootstrap and it\'s amazing.
I\'m trying to figure this out. I have a textarea for feedback inside a modal window. It works great.
I was having major issues in chrome... I hope this helps someone.
//When user clicks link
$('#login-modal-link').on('click',function() {
setTimeout(function(){
//If modal has class
if ($('#login-modal').hasClass('modal')) {
//Whatever input you want to focus in
$('#user_login_modal').focus();
}
},100);
});