摘要: function getFirstCharter($str){ if(empty($str)){return '';} $fchar=ord($str{0}); if($fchar>=ord('A')&&$fchar<=ord('z')) return strtoupper($str{0}); $s 阅读全文
posted @ 2016-04-25 17:05 MauriceChans 阅读(398) 评论(0) 推荐(0) 编辑
摘要: <html> <script src="http://common.cnblogs.com/script/jquery.js" type="text/javascript"></script> <body> <input type="text" name="username" /> </body> 阅读全文
posted @ 2016-04-25 17:00 MauriceChans 阅读(844) 评论(0) 推荐(0) 编辑