This content has been marked as final.
Show 3 replies
-
1. Re: masked input
giant2 Feb 20, 2012 11:48 AM (in response to giant2)in this manner goes
$('#xxxxxx').mask(...)
but in this manner no
$('#j_id134:xxxxxx').mask(...)
But richfaces put automatically a ":" to the id property even if I have specified an id.
Is there any method to make this ":" forbidden to richfaces?
-
2. Re: masked input
mcmurdosound Feb 20, 2012 1:21 PM (in response to giant2)you'll have to escape the colon
$('#form\\:whatever\\:id')
or use a suffix selector:
$('input[id$=abcdef]').
where: abcdef is the id of your h:inputText id="abcdef"
-
3. Re: masked input
giant2 Feb 21, 2012 3:22 AM (in response to mcmurdosound)Wonderfull!
Thank you Christian!