xxb/module/entry/js/binduser.js
2023-10-23 15:51:36 +08:00

18 lines
434 B
JavaScript

$(document).ready(function()
{
$('[name*=createUsers]').each(function()
{
$(this).change(function()
{
if($(this).prop('checked'))
{
$(this).parents('tr').find('#zentaoAccounts').attr('disabled', true);
}
else
{
$(this).parents('tr').find('#zentaoAccounts').attr('disabled', false);
}
})
})
});