Is it possible to select this input with jquery without assigning an id or class?
<input type="hidden" name="nOfAnswers[]" value="2">
At the moment I use:
$nOfAnswers = $table.find("input[name*='nOfAnswers[]']");
But when I print it:
console.log($nOfAnswers.html());
It prints a blank line to the console.
$nOfAnswers.html()to print? (PS..html()is using.innerHTMLinternally.) Try toconsole.log($nOfAnswers.length);to see if the selector is even working.