Hello,
i have a checkbox to which i associated an event onclick
for this, i call a javascript function verifierReversible
here is the component call
<nested:checkbox property="CAjustTypeAjust" onclick="verifierReversible(<%=
Integer.parseInt(numLigne) %>)">
an here is the javascript function
function verifierReversible(i){
if
(document.forms[0].elements["ajustContrat["+i+"].CAjustTypeAjust"].checked==true){
document.forms[0].elements["ajustContrat["+i+"].CAjustTypeAjust"].value="R";
} else {
document.forms[0].elements["ajustContrat["+i+"].CAjustTypeAjust"].value=null;
}
}the problem is that Integer.parseInt(numLigne) is not replaced with its value any one has an idea? Regards Elyes* *

