SyntaxFix
Write A Post
Hire A Developer
Questions
You can use this for direct find value via params name.
const urlParams = new URLSearchParams(window.location.search); const myParam = urlParams.get('myParam');