Jquery cookbook Chinese Version
Author of basic information: (US) jquery community Expert Group Translator: Yao Jun sun Bo Press: People's post and telecommunications Press ISBN: 9787115255907 Release Date:-4-5 published on: April 2013: 16: 1-1 category: Computer
For more information, jquery cookbook Chinese, computer books, and jquery cookbook Chinese are designed to show readers how to use jquery in daily projects by leading front-end developers.. The book is divided into 18 chapters, respectively written by different authors. These industry elites will lead readers through the process of solving various problems from simplicity to complexity. No matter novice jquery or experienced JavaScript developers, they can have a new understanding of jquery's capabilities through this book. The Chinese version of jquery cookbook starts with the introduction of basic knowledge and general best practices. The content includes jquery, selection, traversal, and manipulation on the page, and then changes to the actual use case, guides readers to find solutions to common problems, including events, special effects, dimensions, forms, and user interface elements. Finally, studies jquery application testing and how to integrate jquery into complex websites. Whether it's jquery front-end developers or server-side developers who write client code, you can find the content you are interested in from this book and improve your development skills. Directory jquery cookbook Chinese Version Chapter 1 jquery basics 1st contains jquery library code 11.1 On the HTML page. After Dom loading and before the whole page loading, run jquery/JavaScript code 91.2 with selector and jquery Function select Dom element 131.4 select Dom element 151.5 in the specified context filter Dom Element Set 161.6 find the descendant element of the current selected wrapper set 171.7 return the option before destructive modification 191.8 set the previous option set contains to current selection set 201.9 get new Dom Element Set 211.10 create, operate and insert Dom element 221.11 Delete Dom element 241.12 replace Dom element 251.13 clone Dom element 261.14 get, set and delete Dom element attributes 291.15 get and set HTML content 301.16 get and set text content 311.17 use $ alias 32 Chapter 2nd use jquery to select element 33.2.1 only child element 342.2 select a specific sibling element 352.3 select an element in the indexing order 372.4 select the current animation element 392.5 select an element based on the contained content 402.6 select an unmatched element 412.7 select an element based on visibility 422.8 according to attributes select element 432.9 select form Element 442.10 select element with specific features 452.11 use context parameter 472.12 create a sub-definition filter selector 48 Chapter 3rd go beyond basic 513.1 read loop select result set 513.2 select set to a specific item 543.3 convert the selected jquery object to the original DOM object 573.4 obtain the index of an element in the selection set 593.5 create a unique array from the existing array 613.6 in the selection set subset execute an operation on 633.7 to configure jquery, avoid conflicts with other libraries 663.8 use plug-ins to add features 683.9 determine which query to use 71 Chapter 4th jquery tool 734.1 use jquery. suppoert detection function 734.2 jquery. each cyclically reads arrays and objects. 754.3 use jquery. grep filters the array 764.4 using jquery. map cyclically modifies array element 774.5 using jquery. merge merges two arrays 784.6 with jquery. unique filters repeated array elements. 784.7 use jquery. isfunction test callback function 794.8 using jquery. trim removes spaces from string or form values. 804.9 jquery. data attaches objects and data to the Dom. 804.10 use jquery. extend extension object 82 chapter 5th faster, simpler, and more interesting 845.1 this is not jquery, but javascript845.2 $ (this) what's wrong? 855.3 Delete redundant duplicates 885.4 format jquery chain 895.5 borrow code from other libraries 915.6 write a custom iterator 935.7 switch properties 965.8 find bottlenecks 985.9 cache jquery object 1025.10 write faster Selector 1045.11 load table 1065.12 faster write basic circular code 1095.13 reduce name search 1125.14. innerhtml faster update dom1145.15 decomposition method chain 1155.16 is this jquery defect? 1175.17 tracking jquery1185.18 reduce the number of server requests 1205.19 write non-interfering javascript1235.20 use jquery for progressive enhancement 1265.21 to make the page easy to access 127 chapter 2 size 6th obtain the size of the window and document 1326.1 obtain the size of the element 1326.2 obtain the offset of the element 1336.3 make it visible 1356.4 determine whether the element is in the view area 1386.5 put the element in the view area center 1436.7 absolutely locates an element at the current position 1446.8 locates the element 1456.9 according to the relative position of another element 146 switches the style sheet 7th chapter 1497.1 special effects 1517.2 slide and fade in/out elements pass up slide to make the element visible 1547.3 create a horizontal folding effect 1557.4 simultaneously slide and fade in/out elements 1597.5 apply continuous effects 1607.6 determine whether the element is currently in the animation 1627.7 stop and reset animation 1637.8 for the effect use from definition of easing method 1647.9 disable all effects 1657.10 use jquery UI for advanced effects 166 Chapter 2 events 8th use one event handler for many events 1688.1 Delete different data reuse handler functions 1698.2 the entire event handler 1728.4 triggers a specific event handler 1738.5 transmits dynamic data to the event handler 1748.6 as early as possible to access elements (in the document. before ready) 1768.7 stop processing program execution loop 1798.8 get the correct element when using event.tar get 1818.9 avoid multiple hovers () animation Parallel Display 1828.10 make the event handler apply to newly added elements 185 chapter 9th Advanced event 1889.1 run jquery1889.2 accelerate global event trigger 1899.3 create your own event 1929.4 make the event handler provide the required data 1959.5 create an event driver plug-in 1989.6 get a notification when calling the jquery method 2029.7 use the object method as the event listener chapter 205 enhance HTML form 10th from the beginning when loading pages focus on one in the text input field, 20910.2 disable and enable form elements. 21010.3 select the radio button automatically. 21310.4 use a dedicated link for selection (invert selection) select All check boxes 21510.5 with one switch (reselect) all check boxes 21610.6 add and delete options 21810.7 in select element automatically jump to the next control 21910.8 display remaining string count 22110.9 limit text input field content is specific character 22410.10 submit form 22510.11 verification with Ajax form 227 chapter 11th enhance HTML form 23411.1 verify form 23511.2 create input field in fixed format 24411.3 auto complete text field 24611.4 select a value range 24711.5 input range constraint value 25011.6 upload file in the background 25311.7 limit the length of input text 25411.8 display the label 25511.9 above the input field according to content increase input field 25711.10 select date 258 chapter 12th jquery plug-in 26112.1 where to find jquery plug-in 26112.2 when to compile a jquery plug-in 26312.3 compile the first jquery plug-in 26512.4 pass option 26612.5 to the plug-in use $ shortcut 26812.6 in the plug-in include private function 26912.7 Support Metadata plug-in 27112.8 add static function for the plug-in 27212.9 use qunit for plug-in unit Test Section 274 create interface components from scratch 13th create custom tools tip 27713.1 use the File tree extender navigation 27813.2 expand collapse controls 28313.3 select different tabs in the document 28613.4 display simple modal window 29113.5 build drop-down menu 30013.7 cross-invisible circular images 30313.8 slide panel 308 chapter 14th build user interface with jquery UI 31214.1 contains the entire jquery UI kit 31414.2 contains one or two separate jquery UI plug-ins 31514.3 with default options initialize jquery UI plug-in 31614.4 use custom options to initialize jquery UI plug-in 31714.5 create your own jquery UI plug-in default value 31814.6 get and set jquery UI plug-in option 32014.7 call jquery UI plug-in method 32014.8 process jquery UI plug-in event 32114.9 destroy jquery UI plug-in 32414.10 create jquery music player chapter 324 jquery UI theme 15th use themeroller to set jquery UI window component style 33815.1 overwrite jquery UI layout and theme style 34215.2 as a non-jquery UI component application topic 36415.4 reference multiple themes on one page 37215.5 appendix: other CSS resources Chapter 1 jquery, Ajax, and data formats: HTML, XML, JSON, json2017116.1 jquery, and ajax381