Untitled
pixerlabs
javascript
3 years ago
544 B
3
Indexable
jQuery(document).ready(function($) { var $ = jQuery; $('.payment_process').find('.button_action').click(function(e) { var payment_id = $(this).attr("payment_id"); var payment_amount = $(this).attr("payment_amount"); $('.' + payment_id).find('.action_form').html('<form target="_blank" name="form_' + payment_id + '" id="form_' + payment_id + '" method="POST" action="https://vinotecabp.azurewebsites.net"><input type="hidden" name="token_ws" value="token" /></form>'); $('#form_' + payment_id).submit(); });
Editor is loading...