jquery - datepicker and Internet Explorer -


i have problem use of datepicker in internet explorer. in other browsers there isn't problem, ie.

the code use this:

 <script type="text/javascript"> ( function($) {     $(document).ready( function() {              $("#slider").easyslider({                 auto: true,                  continuous: true             });              $( ".tcal" ).datepicker({                 changemonth: true,                 changeyear: true,                 showon: "both",                 mindate: '-122y',                 maxdate:'0',                  yearrange: "-122",                 buttonimage: "/images/kalender3.gif",                 buttonimageonly: true             });               $( ".tver" ).datepicker({                     changemonth: true,                     showon: "both",                     buttonimage: "/images/kalender3.gif",                     buttonimageonly: true,                     mindate: '0',                      maxdate: '+1y',                 });              $('.tcal,.tver').datepicker('option', $.extend({showmonthafteryear: false},$.datepicker.regional['<?php print(($lng=='1')?'nl':'fr');?>']));               $('.tcal,.tver').datepicker( "option", "dateformat", "dd/mm/yy" ); });   } ) ( jquery );  </script> 

but won't work in internet explorer. on home page have slider, , won't work anymore. work when place parts in comment:

$( ".tcal" ).datepicker({             /*  changemonth: true,                 changeyear: true,                 showon: "both",                 mindate: '-122y',                 maxdate:'0',                  yearrange: "-122",                 buttonimage: "/images/kalender3.gif",                 buttonimageonly: true*/             });               $( ".tver" ).datepicker({                     /*changemonth: true,                     showon: "both",                     buttonimage: "/images/kalender3.gif",                     buttonimageonly: true,                     mindate: '0',                      maxdate: '+1y',*/                 }); 

does knows made mistake?

some versions of ie don't allow trailing commas. if remove comma after

maxdate: '+1y' 

does work?


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -