摘要: jQuery获取Select选择的Text和Value: 1. var checkText=jQuery("#select_id").find("option:selected").text(); //获取Select选择的Text 2. var checkValue=jQuery("#select_id").val(); //获取Select选择的opt... 阅读全文
posted @ 2017-02-09 10:02 侠岚之弋痕夕 阅读(928) 评论(0) 推荐(0)
摘要: 获取Select : 获取select 选中的 text : $("#sid").find("option:selected").text(); 获取select选中的 value: $("#sid").val(); 获取select选中的索引: $("#sid").get(0).sele... 阅读全文
posted @ 2017-02-09 10:01 侠岚之弋痕夕 阅读(1470) 评论(0) 推荐(0)
摘要: strlen strlen — 获取字符串长度 int strlen ( string $string ) 返回给定的字符串 string 的长度。 mb_strlen int mb_strlen ( string $str [, string $encoding ] ) 返回给定的字符串 stri 阅读全文
posted @ 2017-02-09 09:55 侠岚之弋痕夕 阅读(2585) 评论(0) 推荐(0)
摘要: jquery的ajax请求的主要参数 beforeSend:发送ajax请求之前 success:发送ajax请求成功 error:发送ajax请求错误,通常是网络失去连接、服务器出错、后台方法错误等造成的 代码: 阅读全文
posted @ 2017-02-09 09:52 侠岚之弋痕夕 阅读(139) 评论(0) 推荐(0)
Where is the starting point, we don't have a choice, but the destination where we can pursue!