0
I have the following java script function to format my date fields:
function MascaraData(data){
if(mascaraInteiro(data)==false){
event.returnValue = false;
}
return formataCampo(data, '00/00/0000', event);
}
but I cannot call the function in my page’s textbox
If possible, include messages from your browser console in the question :)
– Rui Pimentel
Have you considered using jQuery.Mask() ?
– Hiago Souza
$("#Textboxdatainicio"). Mask("99/99/9999");
– Hiago Souza
With Asp or input?
– user2254936