Bug Tracker

Ticket #4622: test-4622.html

File test-4622.html, 501 bytes (added by dmethvin, 11 years ago)

Test of self-closing <div> tags for IE.

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<html><head>
3<title>div test</title>
4<style type="text/css">
5
6</style>
7<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript"></script>
8<script type="text/javascript">
9$(document).ready(function() {
10        alert($("#div1").text("test1").html());
11        alert($("#div2").text("test2").html());
12});
13</script>
14</head>
15<body>
16
17<div id="div1"></div>
18<div id="div2" />
19
20</body>
21</html>