Bug Tracker

Ticket #5619: jquery-1.4a1-test-css.html

File jquery-1.4a1-test-css.html, 636 bytes (added by stepanvr, 13 years ago)
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5<title>jQuery 1.4a1</title>
6<script type="text/javascript" src="jquery-1.4a1.js"></script>
7<script type="text/javascript">
8$(function() {
9    var node = (new DOMParser()).parseFromString('<p xmlns="http://www.w3.org/1999/xhtml">test test</p>', 'text/xml');
10    node = document.importNode(node.documentElement, true);
11    $(node).hide();
12    $('#test').append(node);
13});
14</script>
15</head>
16<body>
17<div id="test"></div>
18</body>
19</html>