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