<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
</head>
<body>
<body onLoad="abc();">
<div id="guangg1">hello,worldis so white</div>
<div id="ggad1" >
<img src='abc.bmp'>
</div>
<div id="guangg2">hello,worldis so white</div>
<div id="ggad2" >
<img src='abc.bmp'>
</div>
<script type="text/javascript">
$(function() {
$("img").attr("src","");
});
function abc()
{
$(function() {
setTimeout('def()',1000);
});
}
function def()
{
$("img").attr("src","a.bmp");
}
</script>
</body>
</html>