how to get querystring value from URL in custom html form?

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
swiftinitpvtltd
Posts: 370
Joined: Sat Apr 28, 2018 3:33 am
Location: India
Contact:

how to get querystring value from URL in custom html form?

Post by swiftinitpvtltd »

how to get querystring value from URL in custom html form?
I have below code in document.ready
console.log(window.location.href);
console.log($(location).attr('href'));
var url=$(location).attr('href');

But it gives me strange DOCS_162385163 in the URL and not the URL thats presented in URL bar of the browser.
I need a querystring value when page loads...
Post Reply