title: Form not getting submit after getting token from stripe
body: <p>i am facing an error after getting the token from stripe. form is not submitting after i am getting the token form stripe. </p>
  
  <p>i have tried so far </p>
  
  <pre><code>$('#payment-form').submit(function(e){
      if (!$('#payment-form').data('cc-on-file')) 
          {
             e.preventDefault();
            Stripe.setPublishableKey($('.form-horizontal').data('stripe-publishable-key'));
  
            var Token = Stripe.createToken({
              number: $('.card-number').val(),
              cvc: $('.card-cvc').val(),
              exp_month: $('.card-expiry-month').val(),
              exp_year: $('.card-expiry-year').val()
            }, stripeResponseHandler);
  
            return false;
  
          } 
  }); 
  </code></pre>
  
  <p>stripeResponseHandler function </p>
  
  <pre><code>function stripeResponseHandler(status, response) {
      if (response.error) {
          $('.error')
              .removeClass('hide')
              .find('.alert')
              .text(response.error.message);
  
              setTimeout(function(){
               $('.error')
              .addClass('hide')
              .find('.alert')
              .text('');
          },1000);
  
      }
      else 
      {        
          var token = response['id'];
          $('#payment-form').append("&lt;input type='hidden' name='stripeToken' value='" + token + "'/&gt;");
          $('#payment-form').get(0).submit(); // getting error here
  
      }
  }
  </code></pre>
  
  <p>Error i am getting  </p>
  
  <blockquote>
    <p>$(...).get(...).submit is not a function</p>
  </blockquote>