马上送分,请大家帮忙! onclick="return confirm('delete it?')"可以了////////////// 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <form method=post action="" name="form1"><button onclick="del()">del</button></form><script language="JavaScript"><!--function del(){ if(confirm("你确定要删除这些数据?")) { document.form1.submit(); }}//--></script> <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>无标题文档</title></head><body><form name=form1><input type="checkbox" name="checkbox" value="1" onClick="if(document.form1.checkbox.value==1){document.form1.text_1.disabled=false}"><input type="text" name="text_1" disabled></form></body></html> 如何将java中list集合,传入javascript中 QQ群相册的源代码太神奇了 js 传参问题 JavaScript去掉没有值的框 JS location.replace( myurl )有没有替代方法 高分真银求IE弹窗代码! 求一个js弹出新层并查询数据返回值的代码 怎么用javascript 读文件? 请教:C#程序中执行confirm语句的问题 急,初学小问题 如何去掉图片上面的几个按钮? 为什么检查不了?
<button onclick="del()">del</button>
</form>
<script language="JavaScript">
<!--
function del()
{
if(confirm("你确定要删除这些数据?"))
{
document.form1.submit();
}
}
//-->
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head><body>
<form name=form1>
<input type="checkbox" name="checkbox" value="1" onClick="if(document.form1.checkbox.value==1){document.form1.text_1.disabled=false}">
<input type="text" name="text_1" disabled>
</form>
</body>
</html>