title: Change Value with JS/Jquery Wordpress
body: <p>I build a form on a Wordpress Website with a Pagebuilder Plugin. I want to change the value="submit" to something else. This is how the code looks when I look inside with Chrome Dev Tools.</p>
  
  <pre><code>&lt;p class="input-submit full-size"&gt;
      &lt;span class="input-row"&gt;
          &lt;span class="submit-wrap"&gt;
              &lt;input class="input-required" type="submit" name="form-submit" value="Submit"&gt;
          &lt;/span&gt;
      &lt;/span&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>Sadly there is no Option inside the Pagebuilder to change it so I need Javascript I guess. Can you guys help me how to change the value? I cant select an ID, since there is none. I tried some stuff but without success --></p>
  
  <pre><code>if( body.hasClass("page-id-2383") )
  {
      $(".submit").val("New Value");
  }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>document.querySelectorAll("input[value=submit]").value  = "New Value";
  </code></pre>