I have the following code:
$(this).children("a:eq(0)").append('<img src="'+ (arrowsvar.down[1])
+'" class="' + (arrowsvar.down[0])
+ '" style="border:0;" />'
);
Now I want to remove last appended element (an image). Please give suggestions.
question from:https://stackoverflow.com/questions/1650463/remove-last-append-element-jquery