$('[data-expand-tags-list]').append("
  • \nsitcom<\/a>\n<\/li>\n
  • \nslapstick<\/a>\n<\/li>\n
  • \nsmall town<\/a>\n<\/li>\n"); $('[data-expand-tags]').remove();