title: Change Text Of Submit Button
body: <p>I'm trying to change the text on a HTML button when a action is invoked, But with no luck I seem to be missing something.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;button name="Action" id="" name="SubmitButton" type="submit" value="SaveData"&gt;Update this text Page&lt;/button&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>document.getElementById('SubmitButton').value = "New Text";
  </code></pre>