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)
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)
精彩评论