Home  >  Article  >  Web Front-end  >  Method to set jsf selection box h:selectOneMenu to non-editable state_javascript skills

Method to set jsf selection box h:selectOneMenu to non-editable state_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:05:021531browse

1. js code:

Copy code The code is as follows:

function init() {
document.getElementById("studyPhase").disabled=true;
}

2. h:selectOneMenu drop-down box
Copy Code The code is as follows:




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