Jquery 1.3.2 and UI 1.7.2 and DatePicker causing browser to hang.
Hi,
When using the following code snippet the datepicker show successfully the first time but on subsequent clicks will hang the browser. Please note this is only using IE8.
The following browsers are functioning as expected:
IE8 in IE7 compatibility mode.
Chrome
Firefox
Safari.
Any ideas as to what maybe incorrect?
I'm using Windows Server 2008 R2 as an operating system.
Thanks
Chriss
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html>
- <head>
- <meta charset="utf-8" />
- <title>Trying to crash Chrome with jQuery UI Datepicker 1.7.2</title>
- <link class="jsbin" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"></link>
- <script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
- <script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
- </head>
- <body>
- <input type="text" id="datepicker" />
- <script type="text/javascript">
- $('#datepicker').datepicker({changeMonth: true});
- </script>
- </body>
- </html>