Solved

Point of Sale Javascript db lookup Question

Posted on 2009-06-30
6
369 Views
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?
0
Comment
Question by:stroudtx
  • 4
  • 2
6 Comments
 
LVL 29

Expert Comment

by:Badotz
ID: 24750769
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.
0
 

Author Comment

by:stroudtx
ID: 24751320
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.
0
 
LVL 29

Accepted Solution

by:
Badotz earned 500 total points
ID: 24754321
>>I don't need application development - I built my own site and we do extremely well in our space.

To the first part of the above statement, I argue that yes, you do. You will require a new page for data entry, a mechanism on the server for affecting your DB and a means of communication between client and server. That sure sounds like development to me.

To the second part, I say wonderful.


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

To the first part of the above statement I say wonderful. To the final question, I say moderately so, yes.
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:stroudtx
ID: 24760447
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);
</script>
0
 

Author Comment

by:stroudtx
ID: 24760655
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.
0
 

Author Closing Comment

by:stroudtx
ID: 31598555
Question not really answered
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question