hum... how about just try loading the jquery-1.3.2.js first and see if you get the $ as an Object and if that works then try loading one after another and see which one is having error.
On Tue, Sep 15, 2009 at 6:54 PM, Vardhini <vardhini...@gmail.com> wrote: > > Thanks for the response..I tried ..both no luck.. > > On Sep 15, 3:43 pm, Steven Yang <kenshin...@gmail.com> wrote: > > i am not sure what /jquery-1.3.2-vsdoc.jsis for but try putting it behind > > jquery-1.3.2.js > > > > and also putting ui.core.js before ui.datepicker.js > > > > On Tue, Sep 15, 2009 at 6:31 PM, Vardhini <vardhini...@gmail.com> wrote: > > > > > Hi, > > > > > I'm getting Javascript error "object expected"on PageLoad at the > > > following line: > > > > > $(document).ready(function() > > > > > I found that alert(typeof $); is returing undefined. > > > > > Below is the code snippet: > > > > > <script src="../../Scripts/jquery-1.3.2-vsdoc.js" type="text/ > > > javascript" language ="javascript"></script> > > > <script src="../../Scripts/jquery-1.3.2.js" type="text/javascript" > > > language ="javascript"></script> > > > <script src="../../Scripts/jquery.validate.min.js" type="text/ > > > javascript" language ="javascript"></script> > > > <script src="../../Scripts/jquery.metadata.js" type="text/ > > > javascript" language ="javascript"></script> > > > <script src="../../Scripts/ui.datepicker.js" type="text/ > > > javascript" language ="javascript"></script> > > > <script src="../../Scripts/ui.core.js" type="text/javascript" > > > language ="javascript"></script> > > > > > <script type="text/javascript" language ="javascript"> > > > alert(typeof $); > > > $(document).ready(function() { > > > $("#FromDate").datepicker(); > > > > > }); > > > > > Can anyone let me know what i'm doing wrong? Thanks. >