I have a jquery ui datepicker with changeMonth and changeYear set to True in a bootstrap modal. On the modal div I have an attribute "tabindex='-1'". This works fine in Chrome, IE.. but not in Firefox. If i remove the tabindex, it works in FF. I would like to keep the tabindex attribute if possible, any idea ?
edit : I know tabindex it's not for div but this is on the twitter bootstrap documentation.
A solution, append the ui-datepicker-div to the modal.
$('#ui-datepicker-div').appendTo($('#modal'));
http://jsfiddle.net/LeH4Q/5/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With