摘要:
from: escape,encodeURI,encodeURIComponent方法使用 JavaScript对字符串编码或转义涉及3个函数:escape,encodeURI,encodeURIComponent,对应的3个解码函数为:unescape,decodeURI,decodeURICom 阅读全文
posted @ 2015-07-14 11:07
hongweigg
阅读(9)
评论(0)
推荐(0)
摘要:
1、引言 在JavaScript中,当定义一个大的字符串,特别是有换行情况时,为了看起来整齐、易读,一般使用续行符,例如: var script = "var chart = anychart.pieChart([\ ['Chocolate paste', 5],\ ['White honey', 阅读全文
posted @ 2015-07-14 10:55
hongweigg
阅读(66)
评论(0)
推荐(0)

浙公网安备 33010602011771号