var uri = “http://www.wrox.com/illegal value.htm#start”;//”http://www.wrox.com/illegal%20value.htm#start”alert(encodeURI(uri));//”http%3A%2F%2Fwww.wrox.com%2Fillegal%20value.htm%23start”alert(encodeURIComponent(uri));The URI methods encodeURI(), encodeURIComponent(), decodeURI(), anddecodeURICompone Read More
posted @ 2012-10-12 13:20
liuwei0514
Views(193)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号