$(function() { $('form#af-holiday-search-form').submit(function () { $.blockUI() }) })