1. Common effect function (http://www.w3school.com.cn/jquery/jquery_ref_effects.asp)
Slideup () hides the selected element Slidedown () displays the selected element Slidetoggle () toggles the selected element
Opacity (transparency) Properties: fadeIn (Speed (in milliseconds), callback (callback function)) from invisible to Visible fadeOut () fadeTo (one transparency)
Display Properties: Hide (), show (), Toggle ()
2. Event Handling (JQ's event name is not added)
1) Trigger Event Example: $ (document). Ready (function () {..});
2) Bind event method 1:$ (".."). Click (function () {.});
Method 2:$ (".."). Bind (' click ', Function () {.});
3) Delete Event Example: $ (".."). Unbind (' click ');
The traversal processing element example: $ (".."). each (function () {.});
3. Data definition
Variable: $f array: $a [5]
4. Change CSS
1) Change the attribute name example: $ (".."). AddClass ("hover"); $(".."). Removeclass ("No_hover");
2) animate () Change CSS Property Example: $ ("..."). Animate ({CSS attribute},speed,easing,callback);
3) CSS () Method: $ (".."). CSS (' Color ', ' red ');
4.UI Plug-in
JQ (beginner) Study notes