java - Using JQuery Mask Plugin with JSF -
i´m trying add mask <h:inputtext>
monetary value:
<h:inputtext id="preco" class="input-medium monetary-value" /> <script>$(function() {$('.monetary-value').mask('#.##0,00', {reverse: true});}</script>
as stipulated in doc of plugin on link: http://igorescobar.github.io/jquery-mask-plugin/, it's being compilated this:
and doesn't let me type anything. changed 0 9, lets me type on place of zeros, it's still behaving diferent of demo on docs page.
can me this?
Comments
Post a Comment