$('[data-expand-tags-list]').append("
  • \nsocio-economic<\/a>\n<\/li>\n
  • \nsouth auckland<\/a>\n<\/li>\n
  • \ntruancy<\/a>\n<\/li>\n"); $('[data-expand-tags]').remove();