onkeyup="return fnDateMask(event,this);"
function fnDateMask(event,control) {
var KeyID = event.keyCode;
if (KeyID != 8)
{
var s = new String(control.value);
if (s.length == 2 || s.length == 5) {
control.value = s + "/";
}
}
}
function fnDateMask(event,control) {
var KeyID = event.keyCode;
if (KeyID != 8)
{
var s = new String(control.value);
if (s.length == 2 || s.length == 5) {
control.value = s + "/";
}
}
}
No comments:
Post a Comment