<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Title</title>
<link rel="stylesheet" type="text/css" href=".css"/>
<style type="text/css">
*{ padding: 0px; margin: 0px; }
body, html { font-family: arial; font-size: 14px; }
a, a:active, a:focus {
outline:none;
blr:expression(this.onFocus=this.blur());
}
</style>
<script src="js/lib/jquery.js"></script>
<script type="text/javascript">
$(function() {
console.log($("#in").attr("arg-1")); // 在jQuery-1.4.3前不能正确的读出此属性值
console.log($("#in").attr("arg-2"));
console.log($("#in").attr("arg-3"));
});
</script>
</head>
<body>
<span id="in" arg-1="biao" arg-2="huang" arg-3="loss">xxx</span>
</body>
</html>