Home > Article > Web Front-end > javascript js cookie storage, acquisition and deletion_javascript skills
Usage:
//1. Store Cookie
//2. Parameter description: 1. Parameter 1: Cookie storage Name, Parameter 2: Value to be stored in Cookie
//3. Example As follows:
setCookie('Method',match);
//1. Get Cookie
//2. Parameter Description: 1. Parameter 1: Name stored in Cookie
// 3. Examples are as follows:
getCookie('Method')
//1. Delete Cookie
//2. Parameter description: 1. Parameter 1: Name of cookie storage
// 3. The example is as follows:
deleteCookie('Method');