TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Avuya Mxoli
NA
236
208.7k
functions, arrays
May 15 2011 5:11 AM
hello, i have been asked to generate javascript code that will allow a user to keep track of stock. the user will in a form enter:
stock price,description,stick code. then the user should be able to change the stock price of any item and then display the changed price together with the other items.
e.g
Stock Code c101
Description white shoe
Price 150
[add button] clears the filed for the user to enter more
stock code c101
Price 120
[update button]
then the new list with the updated price should be displayed.
I am thinking of using an array to store the information but I do not know how to access each element in the array for editing and storing all the items that the user will enter. I came across "array of objects" though so maybe i can use that too??
Plz help, thanks
Reply
Answers (
22
)
Best ASP.NET Hosting
Manual testing v/s Automated testing