摘要:
<!DOCTYPE html> <html> <head> <title>JavaScript对象转JSON字符串</title> </head> <body> <script> var jsonObj = { "userId": "admin", "password": "123456", "co 阅读全文
摘要:
<!DOCTYPE html> <html> <head> <title>本地存储</title> <script> function setSessionStorage() { //添加sessionStorage var name = document.getElementById("setSe 阅读全文
摘要:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Cookies</title> </head> <head> <script> // 设置cookie function setCookie(cname, cvalue, exda 阅读全文