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