title: Input tag with initial value but changeable
body: <p>I'm working on an edit implementation - how can I set a default value for an <code>input</code> but can still be changed to be saved on the database using jQuery? Is it even possible? Thanks a lot.</p>
  
  <p>EDIT: Initially, if I load the page for editing, there should be an initial value retrieved from the database depending on which <code>id</code> am I currently iterating. But then I have an option to change the input and should replace the old value retrieved from the database </p>
  
  <p>here's the code</p>
  
  <pre><code>        &lt;div class="form-group col-lg-3"&gt;
              &lt;label for="vpTitle"&gt;Button Label&lt;/label&gt; &lt;input
              type="text" class="form-control" id="vpDonateButtonLabel"
              name="volunteerProject.donateButtonLabel"
              placeholder="Enter button label" maxlength="50" value="${volunteerProject.donateButtonLabel}" required /&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>it displays what I'm expecting when I first load the page. After I have inputted a new value, then clicking save, and open the page again, it still shows what I have written in <code>value</code>. Sorry, I am very new to JavaScript and having a really hard time learning it.</p>