Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $( document ).ready(function() {
- $(".v-4__b-button").on("click", function() {
- const name = $(this).parents(".w-slide").find(".package-price").text().trim()
- const form = $("#price-contact-form").find("form")
- form.append(`<input type="hidden" name="Форма ${name}" data-name="Форма ${name}" value="Форма ${name}" />`);
- });
- })
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement