Looks like you are not properly refrencing the jquery script. You should have an entry in your header that looks like
[code] <script type="text/javascript" src="scripts/jquery-1.2.4.min.js"></ script> [/code] except the src should point to YOUR jquery file. On Aug 24, 10:12 am, Scott Phillips <[EMAIL PROTECTED]> wrote: > I am trying to get datepicker plugin (http://eyecon.ro/datepicker/ > #about) to work on a page, and I can't get it to work for some reason. > I keep getting the following 2 errors: > > jQuery is not defined > datepicker.js()()datepicker.js (line 819) > [Break on this error] })(jQuery); > > datepicker.js (line 819) > $("#inputDate").DatePicker is not a function > [Break on this error] onChange: function(formated, dates){ > > I'm positive that the paths to jquery, etc.. are correct. This is the > code I am using to call the datepicker: > > <script type="text/javascript" > > $(document).ready(function(){ > > $('#inputDate').DatePicker({ > format:'m/d/Y', > date: $('#inputDate').val(), > current: $('#inputDate').val(), > starts: 1, > position: 'r', > onBeforeShow: function(){ > $('#inputDate').DatePickerSetDate($('#inputDate').val(), > true); > }, > onChange: function(formated, dates){ > $('#inputDate').val(formated); > } > > }); > > }); > </script> > > Any help is greatly appreciated!