Is it possible to assign a class from a php variable to a new appended div in jquery?
$newItems = $('<div class="PHP VARIABLE PRINTS HERE A CLASS"></div>');
In my case, for other things, I am defining a var to defign what I then append in jquery but I need to get the class of the newly inserted div from a php variable. Is it possible?