Quantcast
Channel: BlogJava--随笔分类-jquery(进去而已)
Browsing all 20 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

jquery笔记

1,JQuery对象和DOM对象如何转换  JQuery对象才能使用JQuery定义的方法;DOM对象才能使用DOM对象的方法;二者不可以混淆。  DOM对象通过$操作则可以转成JQuery对象。例如:  $(document.getElementById("msg"))  JQuery对象转成DOM对象则较复杂一些。由于JQuery对象本身也是集合,所以必须通过索引的方式来转成DOM对象。例如:...

View Article



Image may be NSFW.
Clik here to view.

jquery函数

1,after(html) after(elem)  after(elems)  将指定的元素插入到某元素后。  before(html) before(elem)  before(elems)与之相反2,append(html) append(elem)  append(elems)  将指定的元素插入到某元素内部的末尾位置...

View Article

Image may be NSFW.
Clik here to view.

jQuery与Ajax(转)

在我所知道的主流JavaScript库中,jQuery拥有最棒的Ajax API。最简单的Ajax调用如: jQuery('div#intro').load('/some/fragment.html'); 代码以GET请求方式,从/some/fragment.html文件中获取HTML片段,并把片段装载到id="intro"的div中。当...

View Article

Image may be NSFW.
Clik here to view.

jquery模态窗口

http://www.malsup.com/jquery/block/#displayboxhttp://dev.iceburg.net/jquery/jqModal/http://bbs.blueidea.com/viewthread.php?tid=2844333&extra=&page=1扩展了 jquery 的插件 easy drag用 jQuery 的 AJAX...

View Article

Image may be NSFW.
Clik here to view.

jquery笔记

1,js的事件函数. click(); click(fn);   分两种,一种是绑定事件,带参,形如eventName(fn);  一种是触发事件,不带参,形如eventName(),客户触发或者程序模拟触发。  触发时包括了浏览器的默认行为。  但可以通过在某个绑定的函数中返回false来防止触发浏览器的默认行为。  在eventName(fn)的函数体内,this...

View Article


Image may be NSFW.
Clik here to view.

jquery自动完成

以下写得很零碎,纯粹是备忘1,  (1)如果用keydown,用中文输入法时在输入框里输汉语拼音的字母就会有感知,故只能用keyup  (2)后退问题.       如何区分是在中文输入法的输入框里的后退,还是自动完成录入框里的后退,二者的处理是不一样的。  (3)确认键...

View Article

Image may be NSFW.
Clik here to view.

很有用的jquery插件

1,bgiframehttp://plugins.jquery.com/project/bgiframesuggested patch for div on top of flash frame problem in...

View Article

Image may be NSFW.
Clik here to view.

jquery插件开发

1,jquery插件开发模式 http://www.learningjquery.com/2007/10/a-plugin-development-patternThere are a few requirements that I feel this pattern handles nicely: (1)、Claim only a single name in the jQuery...

View Article


Image may be NSFW.
Clik here to view.

jquery的ajax相关笔记

jquery中AJAX的并发执行问题 关于ajax的应用,异步并发,导致的问题...

View Article


Image may be NSFW.
Clik here to view.

jquery源代码解读笔记

1,整体结构如下 ( function () { // …… })(); 第一对括号里是一个匿名函数,第一对括号表示执行该函数。注: js的匿名函数模式   http://www.hedgerwow.com/360/dhtml/js-anonymous-function-patterns.html非匿名函数的类似写法如下( function...

View Article

Image may be NSFW.
Clik here to view.

Jquery动画

http://www.lzby.net/boho/blog/?p=207http://www.lzby.net/boho/blog/?p=206leekiang 2008-06-20 21:03 发表评论

View Article

Image may be NSFW.
Clik here to view.

jquery换肤

http://www.lvjiyong.com/item/JQuery-Styleleekiang 2008-08-14 02:28 发表评论

View Article

Image may be NSFW.
Clik here to view.

如何取消已经注册在input上的onfocus事件,以及unbind的问题

遇到一个需求,需要根据当前页面的状态动态设置定义在input上的my97日期控件的onfocus事件是否启用。几经周折,才搞定。对于已经写在input上的onfocus事件:<input type="text" name="finishtime" id="finishtime"  readonly="readonly"...

View Article


Image may be NSFW.
Clik here to view.

json-lib.jar包使用笔记

1,使用jdk1.3版本的json-lib.jar时依赖的包(不一定准确,只是作个记录)commons-beanutils.jar;//必须是1.7以上commons-collection.jar;//必须3.1以上 ezmorph.jar;leekiang 2009-03-11 19:59 发表评论

View Article

Image may be NSFW.
Clik here to view.

jquery与其他库的冲突及解决

如果引入jquery后再引入 Scriptaculous的effects.js,就可能出现莫名其妙的问题。jQuery("#id")正常,但类似于jQuery("name='test'")之类的查询就会出错。原因是旧版本(1.5.1)的effects.js里有代码污染了Array的call方法Array.prototype.call = function() {  var args =...

View Article


Image may be NSFW.
Clik here to view.

ajax跨域调用及jsonp

Ajax的应用中,由于安全的问题,浏览器默认是不支持跨域调用的。传统解决的方法,包括:(参考http://bob.pythonmac.org/archives/2005/12/05/remote-json-jsonp/) Local proxy: Needs infrastructure (can't run a serverless client) and you get...

View Article

Image may be NSFW.
Clik here to view.

浅析jQuery框架与构造对象(转)

转自http://developer.51cto.com/art/200907/139005.htm这是一些分析jQuery框架的文字     针对jQuery 1.3.2版本    面向的读者应具备以下要求    1.非常熟悉HTML    2.非常熟悉javascript语法知识    3.熟悉javascript面向对象方面的知识    4.熟练使用jQuery框架    言归正传!...

View Article


Image may be NSFW.
Clik here to view.

多文件上传

jquery-transmit:jQuery Multi-file Uploader with Flashleekiang 2010-02-02 22:57 发表评论

View Article

Image may be NSFW.
Clik here to view.

jQuery Fundamentals,很棒的在线教程

http://jqfundamentals.com/book/leekiang 2010-10-29 17:16 发表评论

View Article

Image may be NSFW.
Clik here to view.

slideViewer

slideViewer:http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.htmlslideViewerPro:Prohttp://www.gcmingati.net/wordpress/wp-content/lab/jquery/svwt/index.htmlslideView...

View Article
Browsing all 20 articles
Browse latest View live




Latest Images