Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery UI DatePicker IE Javascript Issue
    primarykey
    data
    text
    <p>I write this knowing that I really don't have a ton of information on the issue but I haven't had any luck debugging it and I thought I would see if anyone else has seen this issue before I spent even more time trying to figure it out!</p> <p>I have a jQuery UI datepicker on a page and and having some issues with it in IE 8 and IE 9 but not any other browser. After our <strong>ajax</strong> application has been used for a while, the user reports that they click on the date input and the calendar appears to select a date but none of the buttons within the calendar work; clicking a date button doesn't close the calendar and doesn't select a date and clicking the previous or next month buttons doesn't scroll the calendar. </p> <p>I have seen the error with my own eyes and clicking any of the buttons in the datepicker causes the browser url to change to <a href="http://baseurl.com/#" rel="nofollow">http://baseurl.com/#</a>. This obviously indicates that the javascript that should be fired on the button clicks is not getting executed.</p> <p>Any thoughts as to why the javasript for the buttons in the calendar popup would stop working?</p> <p>Here is the javascript that wires up the datepicker. Whenever the page loads, the styleElements method is called passing in the ajax loaded content div.</p> <pre><code>function styleElements(context) { $('.date', context).each(function () { var element = $(this); element.datepicker({ dateFormat: 'mm/dd/yy', prevText: '', nextText: '' }); element.mask('99/99/9999'); }); } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload