Wednesday 6 June 2018

How to get all Query string values using JavaScript

I want to get the values of all parameters of query string from URL.



Example: www.xyz.com?author=bloggingdeveloper&a1=hello



I want to get values of author and a1 parameters using JavaScript.

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...