Quite new to all this stuff so my apologies if this question is obvious.
So my problem is: If the user enter a valid item ID, the script will scan the item ID and return the Shelf ID of that item ID. I want this to be automatic so my user can scan multiple item ID's at the same time. The Shelf ID should be displayed at the red line in the picture below.
Note: I don't want to use the Check Status/Shelf button that I have right now, I want it to be automatic like onEdit or something similar.
Is this possible to accomplish with JavaScript?
This is easily accomplished with jQuery and Ajax. Firstly create a PHP file to do the lookup and return the shelf ID for you.
Next we need to set up the jQuery Ajax call. Give all your inputs a class that you can attach an event to. I'll use a class of
myClass
for now.