Copy codeThe Code is as follows:
Var ReturnrReason = function (){
If ($ ('# nextTransaction1 option: selected'). text () = "returning attachments "){
$ ("# ReturnrReason" cmd.css ('display ','');
$ ("# ReturnrReasonNote" cmd.css ('display ','');
} Else {
$ (": Checkbox [name = 'workflowparam. Specify returnreason ']"). attr ("checked", false); // clear option
$ ("# ReturnRemarks"). val ("");
$ ("# ReturnrReason" cmd.css ('display', 'None ');
$ ("# ReturnrReasonNote" cmd.css ('display', 'None ')
}
}
Code:
Copy codeThe Code is as follows:
<Tr id = "ReturnrReason" style = "display: none">
<Td> reason for returning the attachment </td>
<Td colspan = "3">
<Caf: checkboxlist name = "workFlowParam. Duplicate returnreason" provider = "simpleCode" cssClass = "required">
<S: param name = "type"> 210 </s: param>
</Caf: checkboxlist>
</Td>
</Tr>
<Tr id = "ReturnrReasonNote" style = "display: none">
<Td> remarks on the reason for returning the attachment </td>
<Td colspan = "3">
<Textarea cols = "90" id = "ReturnRemarks" rows = "2" name = "workFlowParam. Duplicate returnreasonremarks" >$ {apprSugg. Duplicate returnreasonremarks}
</Td>
</Tr>