window.onload = function(){ document.getElementsByName("street")[0].value = "- " ; document.getElementsByName("city")[0].value = "- " ; document.getElementsByName("zip")[0].value = "0" ; }