Hello i want to ask how to copy url parameter to html text
For example my url is:
www.domain.com/?id=123456&name=John
Then i write on html page like this: HTML:
Your ID is <div id="id"></div>
Your Name:
Result:
Your ID is: 123456
Your Name is: John
my question is what the javascript i use to copy url parameter like above to my div html?