Skip to main content

Bug Tracker

Side navigation

Ticket #1529: crash.html

File crash.html, 0.9 KB (added by mkirst, August 23, 2007 11:31AM UTC)

sample html code

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>provocating crash with jquery and json</title>

<!-- uncomment the correct version. -->
<!-- <script type="text/javascript" src="json-2006-11-09.js"></script> -->
<script type="text/javascript" src="json-2007-08-19.js"></script>

<script type="text/javascript" src="jquery-"></script>
<script type="text/javascript">
run = function() {
	jQuery("#foo").css("background-color", "red");  // knock out for json-2006-11-09
	jQuery("#foo").find("P").clone();               // knock out for json-2007-08-19
<body onload="run();">
<div id="foo">
	<h1>Hello World</h1>
	<p id="bar">Lorem ipsum eam ea vero prima facilisis, takimata interesset est ne.</p>

Download in other formats:

Original Format