Decoding an URL.

Posted by Puneet20884 under JavaScript category on | Views : 1783
Decoding a URL javascript can be done by the usage of its inbuilt function


we need to decode the say when we have kept the encoded one and have to represent to client end
So to decode a URL we need to use this function,
the simple code goes as:


the output will be

gr8 puneet.aspx?pra=tål&pcar=great

Comments or Responses

Login to post response