User enters first name
1. User enters a name
2. Clicks on store button
3. 'jane' is stored int he local storage and updated as Last Value stored 1
User enters second name
4. Users enters 'adam'
5.Presses store button, 'adam' is stored in local storage
6. 'adam' is updated as last value stored 1
7. jane is moved from last value 1 to Last Value 2
Use enters third name
8. User enters 'george'
9.Presses store button, value is stored in local storage
10. 'george' becomes Last Value stored 1
11,12 : Previously stored values are moved as shown in the figure
Continue reading Section 3 to learn how the example code works.
(The above article is taken from code.google.com under Creative commons licensing)
Get most out of your technology infrastructure investments with Dell
About CIOL | Media Kit | Site Map | Contact Us | Help | Write to us | Jobs@CyberMedia | Privacy Policy
Copyright © CyberMedia India Online Ltd. All rights reserved. Usage of content from web site is subject to Terms and Conditions.