 <p>If you use the jquery ui datepicker, the compatibility issue should be taken care of for you. I'me using it with IE8 without issue. Then your code is just:</p> <pre><code>$(document).ready(function(){ $('.datepick').datepicker();}); </code></pre>