bongzilla

Untitled

Mar 24th, 2021
695
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2.  
  3. $( document ).ready(function() {
  4.     $(".v-4__b-button").on("click", function() {
  5.         const name = $(this).parents(".w-slide").find(".package-price").text().trim()
  6.         const form = $("#price-contact-form").find("form")
  7.         form.append(`<input type="hidden" name="Форма ${name}" data-name="Форма ${name}" value="Форма ${name}" />`);
  8.     });
  9. })
  10.  
  11. </script>
RAW Paste Data