'忽略文本框中输入的空格
function ignoreSpaces(string) {
var temp = "";
string = '' + string;
splitstring = string.split(" ");
for(i = 0; i < splitstring.length; i++)
temp += splitstring[i];
return temp;
}
'弹出窗口
<script language=javascript>{window.open('chat.asp','_blank','width=780,height=520,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,menu=no,min=no,max=no');}
</script>