开发者

url encoding javascript of $0 value

I want to encode the value being pass by $0 in jsp, how can I do that?

Below is the snippet of the code:

..href='"url+"$0开发者_如何学C'>$0"


Try using:

url+encodeURIComponent($0)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜