网站中常用JAVASCRIPT(持续增加中……)

类别:Asp 点击:0 评论:0 推荐:
'忽略文本框中输入的空格
function ignoreSpaces(string) {
var temp = "";
string = '' + string;
splitstring = string.split(" ");
for(i = 0; i < splitstring.length; i++)
temp += splitstring[i];
return temp;
}

'弹出窗口
{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 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>

本文地址:http://com.8s8s.com/it/it7677.htm