How to collect all value in one of the css (class) and send them with ajax to php file?

How to collect all value in one of the css (class) and send them with ajax to php file?
createschemefull function() {
 var class= ($(".class").val()?????????????;
$.ajax({
 type: 'post',
 url: 'func/class.php',
 data: {
 "class": class,
},
 success: function(response) {
console.log(response)
}
});
}
June 14th 19 at 19:02
0 answer

Find more questions by tags AJAXCSSJavaScriptPHP