$('[data-expand-tags-list]').append("
  • \nromance<\/a>\n<\/li>\n
  • \nsoldiers<\/a>\n<\/li>\n
  • \ntechnology<\/a>\n<\/li>\n
  • \nworld war 2<\/a>\n<\/li>\n"); $('[data-expand-tags]').remove();