What I'm doing wrong?
$(document).ready(function($){
$(".time-input").mask("99:99");
});
<script type="text/javascript" src="./js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="./js/jquery.mask.js"></script>
尝试使用此代替:
$(":input").inputmask();
$("#yourelement").inputmask({"mask": "(999) 999-9999"});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.