How to disable a button with a certain value using jquery
How are the buttons disabled from a specific list of values, in my situation? I tried to do it like this: var pls = [[45], [1]]; for(var el in pls){ $.each($('.seat'), function(){ var attr_el = $(this).attr("value"); if(attr_el == el){ $(this).prop("disabled",true);…