- function?getType(){??
- ????????if(navigator.userAgent.indexOf("iPhone")?!=?-1)?{??
- ????????????alert("我是iPhone~!");??
- ????????}??
- ????????if(navigator.userAgent.indexOf("iPad")?!=?-1){??
- ????????????alert("我是iPad~!");??????}??
- ????} ?
详细解决方案
js 判断 字符串包孕某字符串
热度:402 发布时间:2013-04-02 12:35:26.0
相关解决方案