JSFiddle - React, Tailwind, and code Playground
by rwaldron
JavaScript
$("body").append("<span title='James's'>Here</span>");
$("body").append("<span title='St. James's Places'>There</span>");
console.log([
$("[title='James\\'s']").text(),
$("[title='St. James\\'s Places']").text()
])