Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(function(){
- // Cascading series of finds to focus the most likely relevant field
- window.setTimeout(function() {
- jQuery("div.fieldWithErrors :input:visible:enabled:first, :input:visible:enabled:first").focus();
- jQuery(".tabs-container").not(".tabs-hide").find("div.fieldWithErrors :input:visible:enabled:first, :input:visible:enabled:first").focus();
- }, 100);
- });
Add Comment
Please, Sign In to add comment