Avatar of QuantumGood
QuantumGoodFlag for United States of America

asked on 

Save form entry to cookie and repopulate entry on next visit

I have a form field and a send button that encodes the contents of the field as a URL and passes it as a link. I also want to repopulate the field with the user's last entry by saving the entry as a cookie when the user click send.

I thought I might be able to find something that was nearly a cut-n-paste solution since I have only barely started to learn JavaScript but no luck so far. Can someone point me to a simple solution?
Web Languages and StandardsJavaScriptHTML

Avatar of undefined
Last Comment
Shahzad Fateh Ali
SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
ASKER CERTIFIED SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
JavaScript
JavaScript

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.

127K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo