title: Jquery html pass a value as third parameter
body: <p>Is there a way I can pass from an input html tag and append it to a link url ? </p>
  
  <pre><code> &lt;input type="text" name="job_card_id_payment"
          id="job_card_id_payment"
          class="job_card_id_payment form-control"/&gt;
   &lt;a class="btn btn-success pull-right" 
      id="submit_payment_link" 
      href="&lt;?php echo base_url(); ?&gt;operations/submit_payment"&gt;
     &lt;i class="fa fa-credit-card"&gt;&lt;/i&gt;Submit Payment
   &lt;/a&gt;
  </code></pre>
  
  <p>I want to pass the value from the  input name job_card_id_payment to the end of the link url so that it can be like this one : </p>
  
  <pre><code>&lt;?php echo base_url(); ?&gt;operations/submit_payment/1
  </code></pre>
  
  <p>How can I do it? </p>