JAVASCRIPT

Get parameter from url in js

It is also possible to fetch data from url in javascript. The code I generally use is this:

You can then access QueryString.c

Originally coded by Quentin from Stackoverflow.

Share

Leave a Comment

Your email address will not be published. Required fields are marked *