Are you sure $('.cfjq_form_target4') is a valid selector???
Try to alert($('.cfjq_form_target4').get(0)) to see if you select
correct page element :)
On Sep 22, 4:54 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi this is my code:
>
> $(document).ready(function() {
> var options = {
> target:'.cfjq_form_target4',
> beforeSubmit: function(){
>
> $('.cfjq_form_target4').empty();
> $('.loading4').show();
> },
> success: function() {
> $('.loading4').hide();
> }
> };
> $(".cfjq_form4").validate({
>
> errorContainer: $(".messageBox4"),
> errorLabelContainer: $(".messageBox4
> ul"),
> wrapper: "li",
>
> submitHandler: function(form) {
> $(form).ajaxSubmit(options);
> }
> });
> });
>
> If I change my success like this:
>
> success: function() {
> $('.loading4').hide();
> $
> ('.cfjq_form_target4').fadeIn('slow');
> }
>
> Firefox do not show the fade effect at all.
> IE7 do not validate any more the form and also loose the ajax
> behavior.
>
> Do I miss something.
>
> Andrea