?<!DOCTYPE?html>
<html>
<head>
????<meta?charset="?utf-8">
????<title>a</title>
????<script?type="text/javascript"?src="jquery.min.js"></script>
</head>
<body>
<iframe?id="framex"?src="http://www.baidu.com"></iframe>
<p>pppppppp</p>
<script?type="text/javascript">
????$(function(){
????????$("#framex").contents().click(function(){
????????????alert(123);
????????})
????????$("p").click(function(){
????????????alert(234)
????????})
????})
</script>
</body>
</html>
怎樣讓第一個(gè)click生效???
qq_sU_4
2016-09-23 11:22:38