[ad_1]
I assume you want to grab the value for whatever user inputs. If so, try something like this.
var url = document.getElementById("url-value").value;
getUrlPageContent(url);
Keep in mind that you are grabbing whatever is typed into the input. You will need to add some type of validation as well……..
[ad_2]
solved jQuery document.getElementById() issue