白痴的js控制disabled有关问题

WBOY
Release: 2016-06-13 12:44:29
Original
824 people have browsed it

白痴的js控制disabled问题.
各位大神,我想在这个多选里实现一个如果不选BP JEPS,就不能选BP JEPS Avec un UCC 或者BP JEPS Avec un US.目前多选的代码是这样,请问js里的ChangeStatut()要咋写呢?
for($i=0;$i  echo " BP JEPS

";     
             echo " BP JEPS Avec un UCC

";    
              echo " BP JEPS Avec un CS

";    
}
**************************************************************
我写了好几个都不对.主要是弄不好那个for,请问???处要如何写啊,谢谢各位了:

function ChangeStatut() {
if(???.checked == true) {???.validation.disabled = false }
if(???.checked == false) {???.validation.disabled = true }

}

------------------------------------
PS:在转交页后,需要这样写$diplome=$_POST[$i."_diplome"];才能得到参数的.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template