var uriStr = "http://www.baidu.com?name=张三&num=001 zs"; var uriec = encodeURI(uriStr); document.write("编码后的" + uriec); var uridc = decodeURI(uriec); document.write("解码后的" + uridc); loadMain(); showPopover(); //playOrPaused();});