这是一个完整的工作示例:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#number5").click(function() {
alert("value: "+ $("#number5").html());
});
});
</script>
</head>
<body>
<div id="number5">
93
</div>
</body>
</html>
我的猜测是它对你不起作用,因为:
<a href="javascript:OrganiseValue()" onclick="this.className='btn_callOrg aM mL5'"
class="btn_callBl aM mL5">******</a>
在我放星星的地方你什么都没有,*******
所以<a href..></a>
周围什么都没有——没有什么是很难点击的……