<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8" />
<title>Using jQuery</title>
<script type="text/javascript"
src="lib/jquery-1.5.min.js"></script>
<script type="text/javascript">
$(output);
function output(){
$("#info").html($("img:first").attr("src"));
}
</script>
</head>
<body>
<div id="info"></div>
<img src="images/b1.jpg" /><br/>
<img src="images/b2.jpg" />
</body>
</html>