Ver originalfunction urlParams(input_id,url){ document.getElementById(input_id).value = url.split('?')[1];}