Skip to main content

Search and Top Navigation

#5692 closed bug (fixed)

Opened June 04, 2010 07:38PM UTC

Closed October 26, 2010 01:59PM UTC

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>

Attachments (0)
Change History (1)

Changed October 26, 2010 01:59PM UTC by scottgonzalez comment:1

milestone: TBD1.8.1
resolution: → fixed
status: newclosed

This is fixed in jQuery 1.4.3.