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. >