Bonjour,
Voila j'ai un petit souci avec mon formulaire jsf.
je voudrais faire un
monForm.monBoutonSubmit.disabled=true;
en javascript au onclick sur le commandButton .....
mais voila ..... il renomme mon commandButton par monForm:monBoutonSubmit
en gros voila mon code :
une idée ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 <h:form id="illFront"> <h:commandButton type="submit" id="submitForm" value="Generate Report" onclick="illFront.illFront:submitForm.disabled=true;" action="#{maClasse.validateForm}" /> </h:form>
merci pour toute aide
Pim
Partager