Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
private.js
Package: NetPhone.rar [view]
Upload User: xxtaishan
Upload Date: 2022-01-02
Package Size: 4063k
Code Size: 1k
Category:
VOIP program
Development Platform:
ASP/ASPX
- // 去空格,left,right,all可选
- function BaseTrim(str){
- lIdx=0;rIdx=str.length;
- if (BaseTrim.arguments.length==2)
- act=BaseTrim.arguments[1].toLowerCase()
- else
- act="all"
- for(var i=0;i<str.length;i++){
- thelStr=str.substring(lIdx,lIdx+1)
- therStr=str.substring(rIdx,rIdx-1)
- if ((act=="all" || act=="left") && thelStr==" "){
- lIdx++
- }
- if ((act=="all" || act=="right") && therStr==" "){
- rIdx--
- }
- }
- str=str.slice(lIdx,rIdx)
- return str
- }
- // 基本信息提示,得到焦点并选定
- function BaseAlert(theText,notice){
- alert(notice);
- theText.focus();
- theText.select();
- return false;
- }