PageSourceSearch

https://www.grandsoissons.com/wp-content/plugins/ova-doc/assets/js/script-elementor.js?ver=7.1.2

js grandsoissons.com collected 2026-09-25 20:53:17 UTC 919 bytes, 31 lines download raw bytes

1(function($){
2	"use strict";
3
4	$(window).on('elementor/frontend/init', function () {
5
6		
7		/* Form email */
8      elementorFrontend.hooks.addAction('frontend/element_ready/ova_form_mail.default', function(){
9         $('.ova-form-mail input[type="submit"]').on('click', function(e){
10
11            var that = $(this);
12            var flag = true;
13            $('.ova-form-mail .con .input .error').css({'display':'none'});
14            that.closest('.ova-form-mail').find('.field').each(function( index ){
15               if( $(this).hasClass('required') && $(this).val() == '' ){
16                  flag = false;
17                  $(this).parent('.input').children('.error').css({'display':'block'});
18               }
19            });
20
21            if( ! flag ){
22               e.preventDefault();
23               return false;
24            }
25            
26         })
27      });
28      /* end Form email */		
29
30   });
31})(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.