i have created a php application where am using a barcode scanner to load item name and prices from database. the problem is that once the barcode reader finishes reading the barcode, the details are loaded and it tabs to the next field. this means that the user has to click again on the barcode field to ficus it. how do i prevent the cursor from focusing the next field after scanning i.e focus again on the barcode field after scanning to allow automatic scanning of new item ?

Recommended Answers

All 2 Replies

Need a bit more to go on ..... like some HTML/javascript.

remove the code that forces focus to move to the next field will do

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.