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