The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 4 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Hello everyone,Â
I need help with the storing and reading data in Cookies.
thanks!
Â
Persistance: HTML5 Web StorageStoring and Reading information in Cookies(1) webstorage.htmlCreate a webpage named webstorage.html and make itvalid. (body head etc)HTML errors can confuse your browser confusing JavaScript! Validate your HTML.(2) formCreate a form on this page with First Name and Last Name text fields with a submitbutton for the form.HTML errors can confuse your browser confusing JavaScript! Validate your HTML.(3) actionThe form action will be a local file named: result.html The method could be GET;however, you WILL have to use javascript to save the information before the form issubmitted and sent to the next page.(4) result.htmlCreate a webpage named result.html and make itvalid. (body head etc)HTML errors can confuse your browser confusing JavaScript! Validate your HTML.(5) form againresult.html : Create a similar form on this page with First Name and Last Name textfields. This form will have NO submit button. The First Name and Last Name text fieldsshall be made READONLY and must be blank.Research the tags you are trying to do something new with-- look up the INPUT tag to see how to make itread only.Put ID attributes on tags you want to get objects for... like you had to do on the DOM assignment.(6) write webStorage dataUse javascript on the webstorage.html page (external or internal) to READ thetwoform fieldsand save their values into web storage. Then either allow the form to submitor use javascript to change the page over to result.html.I can not stress enough just how useful using Firebug will be to figuring this out.Use firebug to experiment. You can even do almost the whole program in Firebug's console. Simple steps andexperiments at a time. Do not do too much at a time.
Attachments: