I want to disable selected rows in a matrix.
@TomG helped me out on something similar.
However I want to rewrite the code to disable selected rows (say row 1 & 2) in column 1
jQuery(".c4 inputttype='text']").prop("disabled",true);
I want to disable selected rows in a matrix.
@TomG helped me out on something similar.
However I want to rewrite the code to disable selected rows (say row 1 & 2) in column 1
jQuery(".c4 inputttype='text']").prop("disabled",true);
If the rows aren’t randomized, you can do it by position:
var column1 = jQuery(".c4 inpututype='text']");
var disableRows = =1, 2];
jQuery.each(disableRows, function(i,row) {
column1.eq(row-1).prop("disabled",true);
});
If the rows aren’t randomized, you can do it by position:
var column1 = jQuery(".c4 inpututype='text']");
var disableRows = =1, 2];
jQuery.each(disableRows, function(i,row) {
column1.eq(row-1).prop("disabled",true);
});
Legend
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.