I am trying to get the custom query string value in the URL to get inserted into the default value in my html code. Need help getting the value to get inserted within my html code. I need it to take place of the; value="URL VALUE"
Above is a screenshot of the url with the custom query value that was pulled from the previous page's form submission.
<input type="text" id="myInput" onkeyup="myFunction(event)" placeholder="Search our library" title="Type in a name" value="URL VALUE">