There are different ways to call document.ready in jquery.  Here's
what does and does not work....


These all do the same thing...


<script type="text/javascript">
    jQuery(function($) {//FAILS WITH INTELLISENSE THOUGH JQUERY CALLS
THIS FAILSAFE
            $("div").FAIL
    }

    jQuery(function() { //WORKS WITH INTELLISENSE
            $("div").ajaxError;
    }

    $(function(){//WORKS WITH INTELLISENSE
        $("div").ajaxComplete;
    }

    </script>


On Feb 9, 4:03 pm, MorningZ <morni...@gmail.com> wrote:
> jQuery(....)
>
> works just fine for me
>
> http://i42.tinypic.com/34y65xv.jpg
>
> On Feb 9, 4:58 pm, paulinstl <paulsha...@gmail.com> wrote:
>
>
>
> > Apparently when I start my document ready as jQuery(function($){})  it
> > fails.  When I use $(function{}), it's fine.
>
> > ergh.
>
> > On Feb 9, 3:19 pm, paulinstl <paulsha...@gmail.com> wrote:
>
> > > So I have the new 1.3.1 and vsdoc js file.
>
> > > I can get intellisense up to the point of "$("
> > > After I complete that I get nothing after the "."
>
> > > ex (  $(".selector").   )
>
> > > I get no chaining, nothing.  I have all the patches installed for
> > > VS2008 sp1
>
> > > So what's the formula for getting this plane of the ground?- Hide quoted 
> > > text -
>
> - Show quoted text -

Reply via email to