$('[data-expand-tags-list]').append("
  • \nlawyer<\/a>\n<\/li>\n
  • \nmurder<\/a>\n<\/li>\n
  • \nnew zealand history<\/a>\n<\/li>\n
  • \npolice<\/a>\n<\/li>\n
  • \nsouthland<\/a>\n<\/li>\n"); $('[data-expand-tags]').remove();