![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JavaScript
abc45628
这个作者很懒,什么都没留下…
展开
-
Javascript:谈谈JS的全局变量跟局部变量
今天公司一个实习小妹子问我两段JS代码的区别 var a = "Hello"; function test(){ var a; alert(a); a = "World"; alert(a); } var a = "Hello"; function test(){ alert(a); a = "World"转载 2015-09-01 13:47:05 · 346 阅读 · 0 评论 -
IE11下获取<input type="file">的文件名
参考:https://msdn.microsoft.com/zh-cn/subscriptions/hh772931(v=vs.85) Files property test function getFiles() { // Get input element myFileList = document原创 2015-11-11 12:30:50 · 3395 阅读 · 0 评论