📄 chat_send.jsp
字号:
<%
int i;
String stri=request.getParameter("i");
String id=request.getParameter("id");
%>
<html>
<head>
<script language="javaScript">
function pre(){
document.chat_send.message.focus();
<%
if(stri!=null){
if(stri.equals("refresh"))%>
parent._displayFrame.location.href="chat_display.jsp?id=<%=id%>";
<%
if(stri.equals("close"))
%>
window.parent.close();
<%
}
%>
}
</script>
</head>
<body onload=javascript:pre()>
<form name=chat_send action=send_handle.jsp method=post>
<input type=hidden name=id value=<%=id%>>
<input type=text name=message size=60>
<input type=submit value=提交>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -