Listing 4. jQuery conflict resolution.
清单4 .jQuery解决冲突的办法。
The code in Listing 4 is pure jQuery.
清单4中的代码是纯j Query代码。
How does this affect your jQuery code?
这如何影响到jQuery代码?
The first thing the code does is import JQuery.
代码首先导入JQuery。
"This" is a reference to the jQuery object.
“this”用于引用jQuery对象。
Using jQuery, you write the same code like this.
使用jQuery编写的功能相同的代码。
Controlling the step-by-step flow with jQuery form.
用jQueryForm控制这个分步流程。
The click function is a method of the jQuery object.
click函数是jQuery对象的一个方法。
The result is a jQuery object containing that element.
结果会产生一个包含该元素的jQuery对象。
Are we meeting the needs of those who don't use jQuery?
我们是否满足了那些以前不使用jQuery的用户的需要?
But with the help of jQuery, I think we can do better.
但我相信借助jQuery,我们可以做得更好。
I will use "this" only as a reference to the jQuery object.
我将仅使用“this”引用jQuery对象。
You can use jQuery to take care of basic animations and effects.
可以使用jQuery处理基本的动画和显示效果。
In the jQuery project we try to look at a number of criteria.
在jQuery这个项目中,我们试图寻找一系列可以作为依据的准则。
But the beauty of jQuery is that it's completely client-side.
但是jQuery的美妙之处在于,它纯粹关于客户端。
Here is another example of a special effect feature in jQuery.
这里有另一个关于jQuery特效特性的例子。
Figure 2 displays the start of the application: a jQuery UI button.
图2显示了此应用程序的开始部分:一个jQueryUI按钮。
In addition, you need the jQuery library version 1.4.2 or later.
此外,您需要jquery库版本1.4.2或更高版本。
JQuery: Visit the main jQuery site and download the source code.
jQuery:访问jQuery主页并下载源代码。
You can see how the power of jQuery selectors can simplify your code.
我们可以看到强大的jQuery选择器是如何简化代码的。
You can use a jQuery tooltip to make the design more interactive.
可以使用jQuery的工具提示使设计更具互动性。
Familiarity with jQuery is not necessary but, of course, will not hurt.
熟悉jQuery并不是必须的,当然,熟悉它不会有坏处。
Here's a simple example of the impact jQuery can have on your code.
下面是一个简单示例,它说明了jQuery对代码的影响。
With jQuery, we don't need to write an onclick for every single element.
使用jQuery,我们不需要为每个单独的元素都写一个onclick。
As you saw in Part 1, however, jQuery Form provides the necessary power.
正如您在第1部分中所见到的,jQueryForm提供了所需的功能。
To change the text "Message goes here" using jQuery, you can simply use.
如果要用jQuery改变“Messagegoeshere”文本,方法如下。
The jQuery project is also planning a live conference for this fall.
jQuery项目还计划在今年秋天举行一次现场的技术大会。
Jquery Image slideshow with different stage style for each slideshow.
Jquery的图像幻灯片幻灯片为每个不同阶段的风格。
Next, you use jQuery to add a function to each of your new image "buttons."
接下来,使用jQuery向每个新图像“按钮”添加一个函数。
You should also have some experience using a library tool, such as jQuery or Dojo.
您应该还有使用库工具,如jQuery或Dojo的经验。
应用推荐