$(document).bind('gform_confirmation_loaded', function(event, form_id){ $('#form').delay(3000).fadeOut(600); });