Good morning,
I have a problem with firefox. I have a method that clears an input with a value that I consider invalid there in the sequence I give focus to that input. In Internet Explorer and Chrome it works.
The methods I use is this:
$(".field-date").blur(function () {
if (!DtValida(this.value)) {
MsgAlerta("Data inválida.");
this.value = "";
this.focus();
return false;
}
return true;
});
In Firefox it clears the input and shows the message, only the focus does not work.