datepicker object expected in IE

datepicker object expected in IE

Hi,

i got a problem with the datepicker ui. using it with firefox there are no problems at all. but in IE8 i get an error "object expected".

im not really familiar with javascript so can't find a solution for this.

here is my code in the html header:

  1. <script type="text/javascript">
                $(function(){
                    $('.date').datepicker({
                        inline: true,
                        dateFormat: 'dd.mm.yy'
                    });
                });
            </script>






the problem occurs after $(function(){

i'm sure it's a simple thing, but i don't get it :(

thanks for your help!