0 Replies Latest reply on Jul 9, 2008 6:50 PM by Arisson Leal

    jQuery + seam

    Arisson Leal Newbie

      I'm trying to use jQuery  + Masked input Plugin but don't work.


      I put this on my page:


      <a:loadScript src="/js/jquery-1.2.6.pack.js"/>
      <a:loadScript src="/js/jquery.maskedinput-1.1.3.pack.js"/>
      



      My mask:


      <script type="text/javascript">
      //<![CDATA[
         jQuery.noConflict();
         (function($) {
            $(function() {
               $("#form\\:date").mask("99/99/9999");
          });
       })(jQuery);
      //]]>
      </script>
      



      My input:


      <h:inputText value="#{mybean.date}" id="date" />
      



      What could be wrong ?