$('[data-expand-tags-list]').append("
  • \nsouth pacific<\/a>\n<\/li>\n
  • \ntourists<\/a>\n<\/li>\n
  • \nyacht<\/a>\n<\/li>\n"); $('[data-expand-tags]').remove();