REVUE DE PRESSE

var cookie_name = 'submitCheck'; $('form#mG61Hd').submit(function(){ //Disable button $('input[type=submit]', this).attr('disabled', 'disabled'); $(div.freebirdFormviewerViewItemList, this).css('display', 'none'); $(div.freebirdFormviewerViewNavigationButtonsAndProgress, this).css('display', 'none'); $(div.freebirdFormviewerViewHeaderRequiredLegend, this).css('display', 'none'); //Set cookie $.cookie(cookie_name, "submitted"); }); if ($.cookie(cookie_name) == "submitted") { $("form").addClass("submitted"); }