I am using a url to open a html page, and i am sending data in querystring withe the page url.
For example: abc.html?firstParameter=firstvalue&seconedParameter=seconedvalue
Problem is that if firstvalue
or secondvalue
in parameter contains
special character like #,(,),%,{
, then my url is not constructing well. In this case url is not validating.
I am doing all this in javascript
.
Can any body please help me out this.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…