Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- login:<br><s:textfield name="login" id="login" required="true" cssStyle="width:287px; height:20px;" onblur="this.style.backgroundColor='#F7F5E9'" onfocus="this.style.backgroundColor='#FFFFFF'"/>
- $(document).ready(function() {
- var txtLogin = document.getElementById("login");
- txtLogin.addEventListener('blur', event => {
- event.preventDefault();
- alert('Passei aqui!!!')
- txtLogin.focus();
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement