I want to append data received from the server to a div on my html page. I can do that with
$('#divImAddingTo').append(infoBeingAppended);
I want to apply a css based style to that data being appended. That I'm not sure how to accomplish.
I tried
$('#divImAddingTo').append(infoBeingAppended).toggleClass = 'className';
This isn't working.
Any help is greatly appreciated, as always.