(function($){ $(document).ready(function() { $('.york').modal('show'); }); })(jQuery);