How to disable a series of buttons using jQuery
How do you disable the prev button when the previous month is less than the current month? For instance, if the current month is June, then I want to disable the prev month button so that they cant edit the month of May and the rest of it
for(x=1;x<=12;x++){ contents += '<td> <input type="button" name="x" id="'+x+'" class="reupload btn btn-primary '+ disabled_class + '" value="Add" ></td>'; }