title: barcode scanner integrating in php application
body: <p>I know a barcode scanner acts like a keyboard; when the code is scanned it inputs the text in our form. But in order for it to be able to do that the cursor must be placed in the form field.</p>
  
  <p>To accept input data in situations where there is no mouse (relying only on keyboard), we wrote some JavaScript to put the cursor in the concerned field.</p>
  
  <p>Is there any other way to accept text from a barcode scanner when the cursor is not placed in the correct field?</p>