function save_test() { showloading(); let AssessmentCategorie = [] $("input[name='AssessmentCategorie[]']:checked").each(function () { AssessmentCategorie.push(parseInt($(this).val())); }); $.post("ajax/save_test.php", { AssessmentCategorie: AssessmentCategorie, }, function (data) { $("#save_test").html(data); get_test(); hide_loading(); }); }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter