Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery('.payment-button').on('click', function (e) {
- e.preventDefault();
- var text = jQuery(this).parents('.ForContactForm7HiddenInput').find('.apartment-title').text();
- jQuery('input[name="text-155"]').val(text);
- var text2 = jQuery(this).parents('.ForContactForm7HiddenInput').find('.apartment-title').text2();
- jQuery('input[name="text-156"]').val(text2);
- // Open the popup manually.
- PUM.open(15998); // open popup 123 on click of these buttons rather than adding a click trigger the normal way.
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement