Response title
This is preview!
function before(formData, jqForm, options){ $(jqForm).find('p').empty().html('<img src="images/s/loading.gif" style="width: 43px;margin:auto;display:block;margin-top:8px;">'); } function after(responseText, statusText, xhr, form){ $(form).find('p').empty().html('<p style="text-align: center;margin-top:5px;">Wiadomość została wysłana</p>'); $(form).find('textarea').attr('disabled', 'disabled'); } $('.mailer').ajaxForm({ beforeSubmit: before, success: after });$('.im a').qtip({tip:true, show:{when:{event:'click'}}, hide:{when:{event:'click'}}});</script>
My guess is that you need it after the DOM ready ??
© 2013 jQuery Foundation
Sponsored by and others.