anyone could help me by answering me one question.

suppose i have a html form contain one textbox field.

user click on the textbox field ( Select the field )

And when user will scan the barcode from barcode scanning device. So the barcode readable string will automatically display in my html form textbox?

Or i need to do something special for this?

sorry for my bad english, I could not collect proper words for asking this queestion