Problem with inputmask (Mask)

0

I'm trying to put a mask on my inputs, I think I've called the necessary files, but it's not working.

Files:

<script type="text/javascript" src="http://localhost/sprodoc-bootstrap/bootstrap/js/inputmask.js"><scripttype="text/javascript" src="http://localhost/sprodoc-bootstrap/bootstrap/js/jquery.inputmask.js"></script>

JS:

<scripttype="text/javascript">
$(document).ready(function(){
    $("input.fdatepicker").inputmask("99/99/9999");
    $("input.cpf").inputmask("999.999.999-99");
    $("input.telefone").inputmask("(99) 9999-9999");
});

INPUT:

<div class="form-group">
<label>CPF</label>
<input type="text" name="cpf" value="<?php echo set_value('cpf')?>" class="form-control cpf" placeholder="Cpf">

NOTE: I'm using the Bootstrap framework

    
asked by anonymous 18.06.2015 / 03:46

0 answers