<input type="text" name="adsoyad" id="adsoyad" value="yazilimsoru" />
var adSoyad = document.getElementById("adsoyad").value;