title: How to replace barcodes with descriptions from a list using javascript?
body: <p>We have a webpage used for scanning inventory. We use our own custom barcodes for checking things in and out. These are in sequential order such as 0000024, 0000025, 0000026, etc. Each of these barcodes has a corresponding description of the item to go with it. I was wondering if there is a way that when scanning the barcode into the webpage it can substitute the barcode number with the item description automatically. I am playing around with string replacement but am unsure how to do this for lists of items.</p>