JavaScript Cookie with multiple Name
In order to store multiple name-value pairs of cookies in javascript, the custom object must be serialized in a JSON string which is then parsed and stored in a cookie. A separate cookie can also be used for each name-value pair. Example: <!DOCTYPE html> <html> <head> </head> <body> Username: <input type=”text” id=”name”><br> Mail_ID: <input type=”email” … Read more