title: how to make a 2nd button to click only when first button is clicked
body: <p>i have the two input type:</p>
  
  <pre><code>// First Submit Button:
  &lt;input type="submit" value="Save"/&gt;
  
  // Second Button:   
  &lt;input type="button" value="Go for payment" id="payment" /&gt;
  </code></pre>
  
  <p>i want button with the <code>id="payment"</code> to be function/click only when the <code>Submit</code> is clicked  when the data is saved only .
  <strong>Please provide any suggestion. I am new to jquery and javascript</strong></p>