Cookies for billing information

User Generated

Fnzorezna_1

Programming

Description

For Nor :)

Could you help me out I tried editing the javascript the next assignment is cookies for the code you made I cant figure how to get the array you used to be incorporated into the code. I appreciate you using high level code but slightly hard to learn off if you could break it down to dummy code this time it would help a lot for me to understand. the order folder I included is a class example please base the code off that as much as you can, the other one is the code you made this shouldn't take you half the time it took you to redo the last one as much as you did I will tip a lot for your help.my teacher somehow believed me that I made that with help lol it probably because I know coding terms like array he told me he would help me incorporate it because we aren't going over arrays in the class but now its 24 hours over due and he hasn't gotten back to me, soooooo

Take the checkout form for an online shopping site which you created in assignment #4 and add cookies using JavaScript to store and remember all of the input fields. When you run the page the first time, the JavaScript will check to see if any cookies are already saved, if not it will have the user fill in the input form exactly the same as in assignment #4. However when the user presses submit, if all the fields have been successfully validated, it will save a cookie for EACH input field (First Name, Last Name, etc.including the billing address). Then when the web page is loaded a second time, it will see that cookies are already saved and it will automatically pre-fill the form using the data from the cookies.

First time the form is blank and user enters the info same as in assignment #4:

When user presses submit and all the fields are successfully validated, it will also save the information in cookies.

When the web page is reloaded it will see the cookies and pre-fill the form with the information entered the first time:

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer


Anonymous
Great content here. Definitely a returning customer.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags