url - How can I get query string values in JavaScript?
Example Url is "http://example.com?=Apple"
you can get get value "Apple" the above url by using below bit of JavaScript code Check Output : Click here to check
Output:
Example Url is "http://example.com?=Apple"
you can get get value "Apple" the above url by using below bit of JavaScript code Check Output : Click here to check
Output:
No comments:
Post a Comment