⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nameset.html

📁 类QQ聊天其他人不需帐号就可自由下载此源码
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>昵称修改</title>
<script language="jscript" type="text/jscript" src="../jscript/Config.js"></script>
<script language="javascript" type="text/javascript">
<!--

function xmlResponse() {
	var xml = req.responseXml;
	if(xml.text != "")
	{
		if(xml.text == 'true')
		{
			alert("更改成功!");
			window.close();
		}
		else
		{
			alert("对不起,该昵称可能已经存在");
			window.close();
		}
	}
	else
	{
		alert("对不起,出错误。");
	}
}
function set_room() {
	if(trim(Name.value) == "")
		alert("请输入昵称");
	else
		sendRequest(serverUrl+'/ChatService/users.asmx', 'reset_usinf', 'Post', 'name='+escape(Name.value));
}
-->
</script>
<script language="javascript" type="text/javascript" src="../jscript/HttpQueryString.js"></script>
<script language="javascript" type="text/javascript" src="../jscript/HttpRequest.js"></script>
<style type="text/css">
<!--
.STYLE1 {
	font-size: 12px;
	color: #0000FF;
}
#Button1 {
	color: #0000FF;
	background-color: #CCCCFF;
	font-weight: bold;
	border-top-width: 3px;
	border-right-width: 3px;
	border-bottom-width: 3px;
	border-left-width: 3px;
	border-top-style: dotted;
	border-right-style: dotted;
	border-bottom-style: dotted;
	border-left-style: dotted;
	width: 100px;
	height: 20px;
}
-->
</style>
</head>

<body>
    <span class="STYLE1">请输入新昵称:</span><br>
	<input type="text" id="Name" maxlength="15" />
	<br>
    <input type="button" id="Button1" value="提交" onclick="javascript:set_room();" />
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -