SyntaxFix
Write A Post
Hire A Developer
Questions
I am using this in my layout to capture all modals and focus on the first input
$('.modal').on('shown', function() { $(this).find('input').focus(); });