I have a string that contains HTML image elements that is stored in a var.
I want to remove the image elements from the string.
I have tried: var content =
var content =
Use the text() function, it will remove all HTML tags!
var content = $(""+content+"").text();
"+content+"