I need to achieve the following in JQuery please, but am struggling...
Within the table that has an ID called 'complevels'
Select all the text inputs that have an ID value ending with 'newlevel', but only the inputs with an empty value (e.g. blank)
Set the value of those text inputs to that contained in the 'level' variable
So far I have the following but it is failing to find the text inputs...
var level = '50';
// $("input[id$='newlevel']").val(level); // works
$("#complevels > input[id$='newlevel']").val(level); // fails