Solved

Point of Sale Javascript db lookup Question

Posted on 2009-06-30
6
367 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
Comment Utility
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
Comment Utility
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
Comment Utility
>>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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:stroudtx
Comment Utility
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
Comment Utility
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
Comment Utility
Question not really answered
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to create an extensible mechanism for linked drop downs.
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now