So, I have JQuery dynamically generating controls. The input controls are called EnterLink + number of controls generated. On generation of a new input control I want to change the previously created input so it is disabled. Right now my code looks as so, it does not work.
if (rowCount > 0) {
var last = rowCount - 1;
$("#EnterLink" + last).disabled = true;
}
This looks like it should work, I checked the ids of the controls and that's exactly like they are formatted.