jQuery Capture Checkbox in UI Dialog Box -
based upon checkbox, pop jquery ui dialog box. content of dialog box dynamically built db. each row has check box selection.
i'd trigger additional functionality based on clicking 1 of check boxes. in dynamically created table, each check box has class of "promoteselect".
here's code have jquery side of things.
// handle selecting rows promotion sheet selection table $(".promoteselect").on("change", function() { if(this.checked) { var env = $("#selectedenv").val().touppercase(); var promo_key = $(this).val(); alert(promo_key); buildrepotable(promo_key, env); } });
any ideas?
** update ** figured out. had change container , selector.
$('#higherdiv').on('change', '.promoteselect', function(){});
Comments
Post a Comment