Hello...
I was wondering how I could prompt a user for input based on a server side value.
Example:
User scans a barcode into a textbox
I parse the barcode with a class I wrote serverside
If the scanned barcode starts with an "s" I need to prompt the user for a quantity, if not "s" then I continue with the code using the quantity of 1.
So If there is an "s" I need to pause the code until I get the user input. Or maybe use ajax somehow to return the quantity and call a serverside function to continue??????
Thank you
I was wondering how I could prompt a user for input based on a server side value.
Example:
User scans a barcode into a textbox
I parse the barcode with a class I wrote serverside
If the scanned barcode starts with an "s" I need to prompt the user for a quantity, if not "s" then I continue with the code using the quantity of 1.
So If there is an "s" I need to pause the code until I get the user input. Or maybe use ajax somehow to return the quantity and call a serverside function to continue??????
Thank you