Is in range with dojox.validate.isInRange : isInRange « Dojo toolkit « JavaScript DHTML






Is in range with dojox.validate.isInRange

 

<html>
  <head>
    <script type="text/javascript">
      var djConfig = {
        baseScriptUri : "js/dojo/",
        parseOnLoad : true
      };
    </script>
    <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
    <script>
      dojo.require("dojox.validate.web");
      dojo.require("dojox.validate._base");
      dojo.require("dojox.validate.creditCard");
      dojo.require("dojox.validate.isbn");

      
      function testIt() {
        var s = dojox.validate.isInRange(6, { min : 3, max : 9});
        alert(s)

      }
    </script>
  </head>
  <body onLoad="testIt();">
  </body>
</html>

   
  








Dojo-toolkit.zip( 3,849 k)

Related examples in the same category