My focus by keyboard navigation does't set in internet explorer and it works fine in FF
<p>I have one ID <code>#carousel_inner</code> and i set the focus on that id by keyboard navigation but this focus doesn't work on IE and its work fine with FF.</p>

<pre><code> $("#carousel_inner").attr("tabindex",0).focus(function() {
         $(document).keyup(function(e){
            if ( document.activeElement.id === 'carousel_inner' ) {
            if(e.which==37) {//left arrow
                $(previous).click();//emulates click on prev button 
                } else if(e.which==39) {//right arrow
                $(next).click();//emulates click on next button
                }

            }   
            });
           }); 
</code></pre>
