JQuery - Add, Remove Attribute
function displayACCField(obj) { if ($('#radio-cost-center').is(':checked')) { $("#labelAccAssignment").html("Cost Center"); $("#textAccAssignment").removeAttr("disabled"); //call function showAccAssignment(type); $("#imgF4AccAssignment").attr("onClick", "showAccAssignment('k');"); $('#imgF4AccAssignment').attr({ alt: 'Select Account Assignment', title: 'Select Account Assignment', ...