function baris(){ location.href=document.getElementById('inputadin').value; }
<input type="button" onclick="javascrit:baris();" value="gonder">