<html>
<body>
<script>
document.write('<span onclick=\"aa(中文);\">----点----</span>')
</script>
</body>
</html>
<script>
function aa(str){
alert(str);
}
</script>把“中文”换在数字就可以,换在中文就不行
该怎么写呢?
<body>
<script>
document.write('<span onclick=\"aa(中文);\">----点----</span>')
</script>
</body>
</html>
<script>
function aa(str){
alert(str);
}
</script>把“中文”换在数字就可以,换在中文就不行
该怎么写呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货