![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HTML5
MetaLuo
啦啦啦我是愉快的小布丁
展开
-
应该掌握的html5
canvasvideoaudiodrag、dropsvggeolocationlocalstorage、sessionstoragemanifest(应用缓存)Web Workers服务器发送事件(server-sent event)input type:email、url、number、range、Date pickers(date, month, week, time, da原创 2016-07-22 16:10:53 · 312 阅读 · 0 评论 -
input type="file" and FormData
HTML5提供了一个新方法,就是input的file类型可以直接用来上传文件。上传文件用FormData来获取上传的内容。 以下是相关代码:<form ref="formVolume"> <input type="file" name="basicSkuList" className="hide" onChange={event=>{this.handleImpo原创 2016-12-02 14:48:29 · 1250 阅读 · 0 评论