The task is simple. The site has a feedback form. By default, text fields contain some values. How to make it so that when you click on the field, the original text disappears and the user can enter his info? I try this way, it does not work out for some reason:
<td onclick='document.getElementById('name').value="";'>{name:body}</td> {name:body} is the insertion of the input itself into the form. ID=name at INPUT .