jQuery: Set Mouse Focus On Page Load
First Input:
$(document).ready(function() {
$('input:text:first').focus();
});
First Empty Input:
$(document).ready(function() {
$('input:text[value=""]:first').focus();
});
Jerod SantoBuy the truth, sell it not* |
|||||||
| 📡 RSS | 📥 News | 🐙 GitHub | 📧 Contact | 🎙️ | 𝕏 | ||
$(document).ready(function() {
$('input:text:first').focus();
});
$(document).ready(function() {
$('input:text[value=""]:first').focus();
});