title: escaping special character in a url
body: <p>I am using a url to open a html page, and i am sending data in querystring withe the page url.</p>
  
  <p>For example: <code>abc.html?firstParameter=firstvalue&amp;seconedParameter=seconedvalue</code></p>
  
  <p>Problem is that if <code>firstvalue</code> or <code>secondvalue</code> in parameter contains 
  special character like <code>#,(,),%,{</code>, then my url is not constructing well. In this case url is not validating.
  I am doing all this in <code>javascript</code>. 
  Can any body please help me out this.</p>