jquery not working in mozilla

jquery not working in mozilla


i was trying to use this code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
jQuery.each(jQuery.browser, function(i, val) {
if(i=="mozilla" )
alert("Do stuff for firefox 3")
});
</script>
<style>
p { color:green; font-weight:bolder; margin:3px 0 0 10px; }
div { color:blue; margin-left:20px; font-size:14px; }
span { color:red; }
</style>
</head>
<body>

Browser info:


</body>
</html>
which is not working what so ever.