$('[data-expand-tags-list]').append("
  • \npetrov<\/a>\n<\/li>\n
  • \npetrov yelyena and me<\/a>\n<\/li>\n
  • \nyelyena and me<\/a>\n<\/li>\n"); $('[data-expand-tags]').remove();