Can you please explain this to me?
Try running this code in Firefox: http://jsfiddle.net/eMa8y/24/
Here is the HTML:
<html>
<head>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
</head>
<body>
<form>
<input type="text" placeholder="input" required />
<input type="text" placeholder="input" />
</form>
</body>
</html>
CSS:
input {
color:black;
}
[required] {
color:red;
}
SCRIPT:
$(document).ready(function () {
setTimeout(function () {
$("input").val("");
}, 3000);
});
If you wait three seconds, the input field will get a red border. Do you think this issue is specific to Firefox? Is it a bug?
Just wanted to mention that I am using Firefox version 18.0.2.
Thank you!