Solved

Point of Sale Javascript db lookup Question

Posted on 2009-06-30
6
371 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
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…
Suggested Courses

751 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