We help IT Professionals succeed at work.

Point of Sale Javascript db lookup Question

stroudtx asked
Last Modified: 2012-06-27
We are opening a retail store and we already have a online store.  We want to use the same back-end mysql db for our retail store employees.  I don't want them to have to use the add to cart feature our online customers do.  Instead I want to present them with a form and after they have entered the product ID, the system would complete the rest of that form line and tab down to the next line.  This would allow rapid entry of items from the store by just entering the item number on the tag.  I would think this is something javascript could handle.  How would you attack this one?
Watch Question

Top Expert 2007

This is not a question, it is an expression of need for application development, and for those kinds of needs you should hire a developer.

We are not paid to do development here at EE -- we are just volunteers who answer questions for points and the occasional T-shirt.

Perhaps Rent-A-Coder or a similar service can help you.

Best of luck with your project.


I don't need application development - I built my own site and we do extremely well in our space.

I know HTML, ASP, CSS, etc.  I don't know Javascript that well.  Is this really that complex?

THanks for your suggestion, I'll check it out.
Top Expert 2007
Unlock this solution and get a sample of our free trial.
(No credit card required)


could something like this work??

<script language="Javascript">
    var states = newArray(
$q = "SELECT Name FROM table";
$r = mysql_query($q);
$i = 0;
$n = mysql_num_rows($r);
while ($row = mysql_fetch_assoc($r) {
    echo '"' . $row['Name'] . '"';
    if ($i != $n - 1) { echo . ",\n"; }
    new AutoSuggest(document.getElementById('state'),states);


I've searched google and it looks like a new a javascript/ajax solution. I took your advice and but a bid on rent a coder for $100+ and I have no bids yet.  I don't think this is complex for someone who knows how to code it.


Question not really answered
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.