I am using Masked Input Plugin
Here is the Jsfiddle i tried to load. [ But it is not loading in jsfiddle, it works perfect in local ]
It is working only if i type in the textbox. How can i make the masking by default.
Here is the demo by them
Here is the code i have so far.
<script src="jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="jquery.maskedinput.js" type="text/javascript"></script>
<input id="name" type="text"></input>
<script>
$('document').ready(function() {
$("#name").mask("99/99/9999");
});
</script>