I tried to get(0) the target element and is reached by the selector:
alert [htmlDivElement]

So the selector is reached but do not fade in ....simply appears in FF
and crash all the validation/ajax script in IE7???

Any help???

Thanks

Andrea


On 22 sep, 04:35, muccy <[EMAIL PROTECTED]> wrote:
> 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

Reply via email to