Skip to main content

Bug Tracker

Side navigation

Ticket #5813: task_5813_document_ready_safari_1.4.0.html


File task_5813_document_ready_safari_1.4.0.html, 0.6 KB (added by oliverlangan, January 15, 2010 06:16AM UTC)

A small HTML file which demonstrates issue 5813.

<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
	$("#marker").css("color", "green").text("ready() function fired at " + new Date());
	alert("$(document).ready() fired");
});
</script>
</head>
<body>
<p><a href="http://api.jquery.com">click me, then press the back button</a></p>

<p>This file uses <em>jQuery 1.4.0</em>.
<br/>In Safari (4.0.4/Mac OS 10.6), pressing the back button to get to this page does <em>not</em> result in the ready() function firing.</p>

</body>
</html>

Download in other formats:

Original Format