Home >Web Front-end >JS Tutorial >A brief analysis of the hiding and display problems of tr_javascript skills

A brief analysis of the hiding and display problems of tr_javascript skills

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-16 16:57:051549browse

Copy code The code is as follows:

var ReturnrReason=function(){

if($('#nextTransaction1 option:selected').text()=="Return to make attachment"){
$("#ReturnrReason").css('display' ,'');
$("#ReturnrReasonNote").css('display' ,'');
}else{
$(":checkbox[name='workFlowParam.annexReturnReason']").attr("checked ",false);//Clear options
$("#ReturnRemarks").val("");
$("#ReturnrReason").css('display', 'none');
$("#ReturnrReasonNote").css('display' ,'none')
}
}


Code:
Copy code The code is as follows:


Reason for attachment return


                                                                                                                                                                 🎜>
Remarks on reasons for return of attachments






Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn