<!--纯手打,不保证质量-->
<script type="text/javascript">
function rec(){
var message="你喜欢我吗?";
if(message==true){
document.write("嗯,有眼光");
}else{
document.write("哼,我也不喜欢你");
}
}
rec();
</script>
<body>
<input type="button" value="提交" onclick="rec()"/>
</body>
confirm的使用
最新推荐文章于 2020-11-22 21:59:56 发布