Let\'s say that i have a variable questionId
which is an integer, and i want to find tr
elements that have the fragment (\"question_\"+questi
You have error:
var questionId = 7674;
$("tr[id*='quiz_question_" + questionId + "']");
Notes:
Yep, you almost had it:
var selector = "tr[id*='quiz_question_" + questionId + "']";
$(selector)