<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>huanglw笔记之web storage</title>
<link type="text/css" rel="stylesheet" href="demo.css"
</head>
<body>
<h3>huanglw学习笔记--JavaScript localStorage实现简单购物车</h3>
<div id="addgoods_Div">
<div id = "add_frame">
<label for="price">商 品:</label>
<input type="text" id="price" name="price" class="text"/>
<br/>
<label for="goods">价 格:</label>
<input type="text" id="goods" name="goods"/>
<input id = "btn1" type=
JavaScript localStorage实现简单购物车
最新推荐文章于 2021-01-27 17:56:16 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)