Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www/wp-content/themes/////bahamas/js      ( Reset | Go to )
File Name: custom.js
Edit
jQuery(document).ready(function(){

    jQuery('#goToSecondStep').click(function(){


        var campi = [];

        jQuery('#first_step .wpcf7-validates-as-required').each(function(){

            if (jQuery(this).val() !== "") {
                campi.push(true);
            } else{
                campi.push(false);
            }


        });

        if(jQuery.inArray(false, campi) != -1) {
            jQuery('#first_step .wpcf7-validates-as-required').css('border', '1px solid red');

        } else {
            jQuery('#first_step .wpcf7-validates-as-required').css('border', 'none');
            jQuery('#first_step').hide();
            jQuery('#second_step').show();

        } 



        


    });

});

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL