I am building up an HTML element using
$(this).html(' my html here');
There are many elements I need to add here with different CSS. So what I want is I should be able to do append another HTML here
$(this).html(' my html here');
$(this).html.append(' another html here');
How can I achieve this?
$(this).append();. Which is more than enough.$(this).parent().html('<span class=\"asset_value\">'+ new_comment +'</span>.css('color', 'red'); $(this).append('<span id=save onclick=\"update(cellreport_id , new_comment)\" class=\"glyphicon glyphicon-floppy-disk pull-right\"> </span>');Its not working here