<script>
document.body.onload=function () {
            var urlinfo=window.location.href;
            var spliturl=urlinfo.split("?");
            var geturl=spliturl[1];            
            document.getElementById('docurl').value = geturl;

   
}
</script>
<textarea rows="4" cols="40" id="docurl" value=""  />

 

Thank you for the feedback!