![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jQuery
文章平均质量分 76
edicky
这个作者很懒,什么都没留下…
展开
-
jquery无刷新提交表单的例子
前台页面代码 # <script type="text/javascript" src="js/jquery.js" mce_src="js/jquery.js"></script> # <input name="writer" id="writer" type="text" value="&原创 2009-06-07 21:33:32 · 95 阅读 · 0 评论 -
好用的jquery操作select插件
/* 文件名:jquery.liu.select.js 功能说明:本js文件为jquery类库的一个插件,主要实现对select的操作. 作者:John Liu 编写日期:2008/03/12 */ //得到select项的个数 jQuery.fn.size = function(){ return jQuery(this).get(0).options.length; ...原创 2009-06-07 21:50:56 · 155 阅读 · 0 评论 -
使用jQuery实现局部刷新
关键就在load方法,看一下官方解释 Load HTML from a remote file and inject it into the DOM. A GET request will be performed by default - but if you pass in any extra parameters then a POST will occur. In jQuery ...原创 2009-06-07 22:09:21 · 360 阅读 · 0 评论 -
JQuery操作checkbox、radio等示例
例:将多个选中的checkbox的值组装成一个字符串 <script type=text/javascript> function addMem(){ //var followers = document.getElementsByName("followers"); var f_str = '0'; $("input[@name='followers']")....原创 2009-06-07 22:48:40 · 56 阅读 · 0 评论 -
jQuery 选择器的使用
jQuery 选择器的使用(wuchang作品) jQuery的选择器是CSS 1-3,XPath的结合物。jQuery提取这二种查询语言最好的部分,融合后创造出了最终的jQuery表达式查询语言。如果你了解CSS(绝大部分WEB开发者都用到的),那么你学起来就很容易了。同时使用CSS和XPath看几个例子:隐藏所有包含有链接的段落:$("p[a]").hide();显示页面的第一个...原创 2009-08-03 10:24:57 · 78 阅读 · 0 评论