JS - get full query string or URL parameter

0 votes
185 views
added Jul 4, 2018 in Javascript by LC Marshal Captain (25,790 points)
edited Jul 13, 2018 by LC Marshal
console.log(window.location.search);
//example output "?post=1234&action=edit"
lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...