I have the following:
.find("[data-list='read']")
and I want to add a JS variable inside, something like this:
.find("[data-list=''+ $variable +'']")
Obviously, the two single quotations won't work in this case. Do I need to escape the single quotations in some way? What's the approach in JS?