field=document.getElementById("id") button.onclick=function(){field.value=field.value.replace("Javascript;", "")}