/
index.html
39 lines (33 loc) · 1.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
</style>
</head>
<body>
<div>
<span id="mysp" style="display:block;cursor:pointer;" >Click me, it works under IE6?</span>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="lib/logging.js"></script>
<script type="text/javascript">
$(document).ready(function() {
// $.Logger.setLevel(0);
var log=$.getLogger("ali.ux.wxb");
log.info("I am info",log);
log.log("I am log","yes, u are right!");
log.debug("I am debug","yes, u are right!");
log.warn("I am warn","yes, u are right!");
log.error("I am error","yes, u are right!");
log=$.getLogger("ali.ux.wxbsssssssssssss");
log.info("I am info",log);
log.log("I am log","yes, u are right!");
log.debug("I am debug","yes, u are right!");
log.warn("I am warn","yes, u are right!");
log.error("I am error","yes, u are right!");
$('span').click(function(){alert('works');});
});
</script>
</body>
</html>