There is a variable:
var a = "someval"; Create a block with a class (variable a).
$("#id").append('<div class="' + a + '"></div>'); Since a div with the class someval is created dynamically, the question arises: how then can such an action be performed?
$(".someval").append("<p>Text...</p>");
>- Grundy