Vote count:
0
I have an inputField, or some other tag , that I want to be disabled unitl user clicks on it.
Something like this in html, but I cant get it to work in JSF.
$("div").click(function (evt) {
$(this).hide().prev("input[disabled]").prop("disabled", false).focus();
});
I add disabled=true" to my input field, and div value set on div, something like j_idt13 and div of input field, so "div" value looks like j_idt13:inputID
Can someone help me with jQuery solutin?
I wold like to know can it be done in JSF, and how.
asked 1 min ago
How to disable/enable inputText in JSF on click?
Aucun commentaire:
Enregistrer un commentaire