PageSourceSearch

https://www.cc-paysviganais.fr/wp-content/themes/noyau/assets/js/Admin/script-checkbox-rgpd-gf.js

js cc-paysviganais.fr collected 2026-10-02 08:11:46 UTC 726 bytes, 22 lines download raw bytes

1(function($) {
2jQuery(document).bind('gform_post_render', function(){
3    
4    var url_site = window.location.origin;
5    $('#link-rgpd-gf').attr('href', url_site + "/systeme/politique-de-confidentialite");
6
7    $('input[type="submit"]').css('opacity', '0.8');
8
9    //test checkbox et possibilité ou pas d'envoyer
10    $('.checkbox-rgpd-gf').change(function() {
11        if($(this).is(":checked")) {
12            $('input[type="submit"]').removeAttr('disabled');
13            $('input[type="submit"]').css('opacity', '1');
14
15        }else if($(this).not(":checked")){
16            $('input[type="submit"]').attr('disabled','disabled');
17            $('input[type="submit"]').css('opacity', '0.8');
18        }
19    });
20
21});
22}(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.