PageSourceSearch

https://www.golfhotel-saint-samson.com/wp-content/plugins/coherenc…/js/widgets/form-contact.js?ver=5.0.0

js golfhotel-saint-samson.com collected 2026-10-08 19:42:46 UTC 1,492 bytes, 29 lines download raw bytes

1(function ($) {
2
3    var FormContact = function ($scope, $) {
4        /*************** Begin Function : contact form 7 with animated placeholder input ***************/
5        jQuery('input, textarea,.sp-label,.wpmtst-form .form-field').focus(function () {
6            jQuery(this).parents('.input-label,.wpmtst-form .form-field').addClass('focused');
7        });
8        jQuery('.sp-label').click(function () {
9            jQuery(this).parents('.input-label,.wpmtst-form .form-field').addClass('focused');
10            jQuery(this).parents('.input-label,.wpmtst-form .form-field').find('input,.wpmtst-form .form-field input').focus();
11            jQuery(this).parents('.input-label,.wpmtst-form .form-field').find('textarea,.wpmtst-form .form-field textarea').focus();
12        });
13        jQuery('input, textarea').blur(function () {
14            var inputValue = jQuery(this).val();
15            if (inputValue == "") {
16                jQuery(this).removeClass('filled');
17                jQuery(this).parents('.input-label,.wpmtst-form .form-field').removeClass('focused');
18            } else {
19                jQuery(this).addClass('filled');
20            }
21        });
22        /************************************ End Function ************************************/
23    }
24
25    $(window).on('elementor/frontend/init', function () {
26        elementorFrontend.hooks.addAction('frontend/element_ready/coherence-contact-form.default', FormContact);
27    });
28
29})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.