Opened 9 years ago

Closed 9 years ago

#5692 closed bug (fixed)

IE8/DocType/IFrame/Ready Issue

Reported by: chief7 Owned by:
Priority: major Milestone: 1.8.1
Component: ui.datepicker Version: 1.8.1
Keywords: Cc:
Blocked by: Blocking:

Description

The datepicker doesn't display in IE8 when a DOCTYPE is specified, an iframe is present on the page and the datepicker is added in the document ready function.

Sample code:

<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 StrictEN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server">

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>

<title></title>

</head> <body>

<form id="test">

<input id="tbTest" />

</form> <script type="text/javascript">

$(document).ready(function() {

$("#tbTest").datepicker();

});

</script>

<iframe src="http://www.google.com"></iframe>

</body> </html>

Change History (1)

comment:1 Changed 9 years ago by Scott González

Milestone: TBD1.8.1
Resolution: fixed
Status: newclosed

This is fixed in jQuery 1.4.3.

Note: See TracTickets for help on using tickets.