![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JAVASCRIPT
文章平均质量分 51
tiantangqiu
这个作者很懒,什么都没留下…
展开
-
node.js学习地址
http://www.runoob.com/nodejs/nodejs-install-setup.html原创 2015-11-18 10:28:35 · 67 阅读 · 0 评论 -
js map
[c-sharp] view plaincopyArray.prototype.remove = function(s) { for (var i = 0; i < this.length; i++) { if (s == this[i]) this.splice(i, 1); ...原创 2015-12-08 15:33:52 · 227 阅读 · 0 评论 -
RequireJS
官网下载: http://www.requirejs.org/docs/download.html原创 2014-11-14 11:08:35 · 58 阅读 · 0 评论 -
jQuery判断checkbox是否选中
if ($(currCheck).is(':checked') == true) { alert('选中了'); } else { alert('没选中'); }原创 2014-12-19 14:34:19 · 55 阅读 · 0 评论 -
web界面父子页面互相调用
父页面:parent.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">&l...原创 2017-10-27 14:25:13 · 510 阅读 · 0 评论 -
js处理中文乱码
js合成url时,如果参数是中文,传到struts2中会乱码,解决办法如下:1.js文件中使用encodeURI()方法(必须套两层)。login_name = encodeURI(encodeURI(login_name)); 2.action中URLDecoder解码loginName = java.net.URLDecoder.decode(loginName,"U...原创 2017-11-25 18:20:00 · 525 阅读 · 0 评论