Bug Tracker

Ticket #4230: jQuery-IEcrash.htm

File jQuery-IEcrash.htm, 649 bytes (added by yoursunny, 11 years ago)
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6<title>1 line of jQuery crashes IE8rc1</title>
7</head><body>
8<script type="text/javascript"
9src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script>
10<script type="text/javascript">//<![CDATA[
11//discovered by yoursunny.com
12$(document).ready(function(){
13$('<link rel="stylesheet" type="text/css"/>').attr('href','http://css.cn.msn.com/c/green14.css');
14});
15//]]></script>
16</body></html>