$('[data-expand-tags-list]').append("
  • \nschool<\/a>\n<\/li>\n
  • \nsupernatural<\/a>\n<\/li>\n
  • \nwarlock<\/a>\n<\/li>\n"); $('[data-expand-tags]').remove();