Skip to main content

Bug Tracker

Side navigation

Ticket #4412: 3.html
File 3.html, 0.4 KB (added by x-yuri, March 24, 2009 07:30PM UTC)

after adding doctype everything works fine

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<title>title</title>
	<script src="http://code.jquery.com/jquery-latest.js"></script>
	<script>
		$(function() {
			$('#el').hide('slow');
		});
	</script>
</head>
<body>
<div id="el">
a
</div>
<div style="background: red;">
a
</div>
</body>
</html>

Download in other formats:

Original Format