title: Jquery Input Date Mask Not Working
body: <p>I've searched for other examples already but I just can't seem to get my date input mask to work. Tried to compare my code with the one I've got it from but can't seem to find what could be missing here. </p>
  
  <p>Here is the code for the HTML:</p>
  
  <pre><code>     &lt;td&gt; &lt;div class="form-group"&gt;
       &lt;div class="input-group"&gt;
       &lt;div class="input-group-addon"&gt;
       &lt;i class="fa fa-calendar"&gt;&lt;/i&gt;
       &lt;/div&gt;
        &lt;input type="text" class="form-control" data-inputmask="'alias': 
      'dd/mm/yyyy'" data-mask&gt;
               &lt;/div&gt;
               &lt;/div&gt;&lt;/td&gt;
  </code></pre>
  
  <p>Here's the code for the javascript:</p>
  
  <pre><code>    &lt;!-- jQuery 2.2.3 --&gt;
      &lt;script src="plugins/jQuery/jquery-2.2.3.min.js"&gt;&lt;/script&gt;
      &lt;!-- Bootstrap 3.3.6 --&gt;
      &lt;script src="bootstrap/js/bootstrap.min.js"&gt;&lt;/script&gt;
      &lt;!-- DataTables --&gt;
      &lt;script src="plugins/datatables/jquery.dataTables.min.js"&gt;&lt;/script&gt;
      &lt;script src="plugins/datatables/dataTables.bootstrap.min.js"&gt;
      &lt;/script&gt;
      &lt;!-- SlimScroll --&gt;
      &lt;script src="plugins/slimScroll/jquery.slimscroll.min.js"&gt;&lt;/script&gt;
      &lt;!-- FastClick --&gt;
      &lt;script src="plugins/fastclick/fastclick.js"&gt;&lt;/script&gt;
      &lt;!-- Select2 --&gt;
      &lt;script src="plugins/select2/select2.full.min.js"&gt;&lt;/script&gt;
  
      &lt;!-- InputMask --&gt;
      &lt;script src="plugins/input-mask/jquery.inputmask.js"&gt;&lt;/script&gt;
      &lt;script src="plugins/input-
       mask/jquery.inputmask.date.extensions.js"&gt;&lt;/script&gt;
     &lt;script src="plugins/input-mask/jquery.inputmask.extensions.js"&gt;
     &lt;/script&gt;
      &lt;!-- date-range-picker --&gt;
      &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"&gt;&lt;/script&gt;
      &lt;script src="plugins/daterangepicker/daterangepicker.js"&gt;&lt;/script&gt;    
      &lt;!-- AdminLTE App --&gt;
      &lt;script src="dist/js/app.min.js"&gt;&lt;/script&gt;
      &lt;!-- AdminLTE for demo purposes --&gt;
      &lt;script src="dist/js/demo.js"&gt;&lt;/script&gt;
      &lt;!-- Bootstrap 3.3.6 --&gt;
      &lt;script src="bootstrap/js/bootstrap.min.js"&gt;&lt;/script&gt;
      &lt;!-- AdminLTE App --&gt;
      &lt;script src="dist/js/app.min.js"&gt;&lt;/script&gt;
      &lt;!-- page script --&gt;
      &lt;script&gt;
      $(function () {
      //Initialize Select2 Elements
     $(".select2").select2();
      //Datemask dd/mm/yyyy
     $("#datemask").inputmask("dd/mm/yyyy", {"placeholder": "dd/mm/yyyy"});
    //Datemask2 mm/dd/yyyy
    $("#datemask2").inputmask("mm/dd/yyyy", {"placeholder": 
   "mm/dd/yyyy"});
    $("#example1").DataTable();
    $('#example2').DataTable({
    "paging": false,
    "lengthChange": false,
    "searching": false,
    "ordering": false,
    "info": false,
    "autoWidth": true
      });
  
     });
      &lt;/script&gt;
  </code></pre>
  
  <p>Thank you in advance.</p>