title: How to remove/change an input value using javascript
body: <p>How do I remove the value 'Anonymous' in this input that I have and replace it with a placeholder text 'Your name' using javascript/jquery? I don't have access to the HTML code. </p>
  
  <p>This is what I have so far, but don't really know where to go from there.</p>
  
  <pre><code>document.getElementById('txtYourName').placeholder =' Your Name ';  
  </code></pre>
  
  <p><br>HTML </p>
  
  <pre><code>&lt;input id="txtYourName" type="text" value="Anonymous" name="txtYourName"&gt;&lt;/input&gt;
  </code></pre>