remove this and try it .. <script src="../../Scripts/jquery-1.3.2-vsdoc.js" type="text/ javascript" language ="javascript"></script>
egards, Mari Raj K, Bangalore +91 9740765135 On Tue, Sep 15, 2009 at 4:45 PM, Vardhini <vardhini...@gmail.com> wrote: > > yeah..I tried..i'm getting $ as "Undefined". Important point to note > is that it is working fine when we run from VStudio but when > application is hosted on IIS, it is throwing the javascript error. > > > On Sep 15, 3:59 pm, Steven Yang <kenshin...@gmail.com> wrote: > > 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. >