2017年8月2日
摘要: (1)strlen(string) 返回字符串长度 (2)strpos(string,find,begin) 返回find字符串第一次出现的位置(从0开始) string:处理的字符串 find:想找的字符串 begin:开始查找的位置 (3) substr(string,start,length) 阅读全文
posted @ 2017-08-02 14:53 一曲笙箫 阅读(132) 评论(0) 推荐(0)
摘要: 在form表单中,button标签在IE浏览器 type类型默认是button ,而在其他浏览器默认是submit。 解决方法1: 设置类型type="button" <button type="button" class="btn btn-warning">test</button> 解决方法2: 阅读全文
posted @ 2017-08-02 14:31 一曲笙箫 阅读(210) 评论(0) 推荐(0)