Barcodes and IE

Barcodes and IE

Hi guys I am developing a small program that is used to insert a defined number of barcodes.
In practice, each time you read the javascript should enter the data in the field and move on to the next, until you terminate it.

I say should because it works on Chrome / Firefox / Opera but not in IE (works in part) with or without compatibility.

In practice, after two readings IE, send submit.
Someone can help me?

thanks








My Script:
  1. $("input#seriale").keydown(function (e) { 
  2.     var keyCode = (window.event) ? e.which : e.keyCode; 
  3.     if (keyCode === 13) { 
  4.         $(this).next('input').focus(); 
  5.         return false; 
  6.     } 
  7. });