来源:www.cncfan.com | 2006-1-23 | (有5715人读过)
把这段代码放到你文件的<body>中 if(event.ctrlKey && window.event.keyCode==13){document.form1.submit();} //form1是你要提交的表单的名字! <SCRIPT language=javascript> function ctlkey() { if(event.ctrlKey && window.event.keyCode==13){submitonce(document.LeadBBSFm);if(ValidationPassed)document.form1.submit();}
} var ie = (document.all)? true:false if (ie) { window.document.onkeydown=ctlkey; } //--> </SCRIPT>
<SCRIPT language=javascript> function ctlkey() { if(event.ctrlKey && window.event.keyCode==13){document.form1.submit();}
} var ie = (document.all)? true:false if (ie) { window.document.onkeydown=ctlkey; } //--> </SCRIPT>
<%if rs("picurl")<>"" and rs("picurl")<>" " then flag=INSTR(1,rs("picurl"),"http://",1) picurl=rs("picurl") if flag=0 then picurl="noteimages/"&picurl end if response.write "<img src="&picurl&" align=left>" end if%> <%=rs("content") %>
|