jQuery Tutorial

jQuery HOME
jQuery Intro
jQuery Syntax
jQuery Selectors
jQuery Events
jQuery Effects
jQuery Callback
jQuery HTML
jQuery CSS
jQuery AJAX
jQuery Examples

jQuery Quiz

jQuery Quiz

jQuery Reference

jQuery Selectors
jQuery Events
jQuery Effects
jQuery HTML
jQuery CSS
jQuery AJAX
jQuery Misc

jQuery Examples

« Previous Next Chapter »

Do you want to develop your jQuery selector skills?

Please try our excellent jQuery Selector Tester


jQuery Syntax Examples

$(this).hide()
Demonstrates the jQuery hide() method, hiding the current HTML element.

$("p").hide()
Demonstrates the jQuery hide() method, hiding all <p> elements.

$(".test").hide()
Demonstrates the jQuery hide() method, hiding all elements, with class="test".

$("#test").hide()
Demonstrates the jQuery hide() method, hiding the element, with id="test".

Examples explained


Hiding - Sliding- Fading

jQuery fadeOut()
Demonstrates a simple jQuery fadeout() method.

jQuery hide()
Demonstrates a simple jQuery hide() method.

Hide explanations
Demonstrates how to hide parts of text.

Slide panel
Demonstrates a simple Slide Panel effect.

jQuery animate()
Demonstrates a simple jQuery animate() method.

Examples explained


HTML Manipulation

Change the Content of an HTML element

Append content to HTML elements

Append content after HTML elements

Examples explained


CSS Manipulation

Change a CSS property of HTML elements

Change multiple CSS properties

Get a CSS property from an element

Examples explained


AJAX and jQuery

Change HTML content using $(selector).load(url)

Change HTML content using $.ajax(options)

Examples explained



« Previous Next Chapter »



宏飞网络是你学习web开发、测试web程序实例、和培养职业技能的首选网站。我们提供例子也许有些简单,但对理解基本概念有帮助。

我们尽量避免在教程、参考及例子中出现错误,但不能保证所有的内容都是正确的。

你使用本网站时,我们默认你已经阅读并接受了我们的隐私政策。

Copyright 2003-2011宏飞网络 版权所有