Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Tham khảo tài liệu 'wordpress 3.0 jquery - part 28', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Tips and Tricks for Working with jQuery and WordPress First up there s the console.log and console.info statements which you can add to your jQuery scripts to pass info to and have a plethora of useful and sometimes not-so-useful but interesting information about your script returned. console.profile and console.time are great for measuring how fast you scripts are being processed by the browser. For a complete overview of everything Firebug s console can do check out http www.getfirebug.com logging. Know what jQuery is doing to the DOM Another reason to love Firefox as much as I love Opera and Chrome when I can t select text and objects on the page and right-click on View Selected Source I m at a loss and feel blind. If your jQuery script has created new DOM objects on-the-fly or is manipulating objects right-clicking View Page Source will only show you what the server served up and not what jQuery and JavaScript cooked up in your browser. This is a great quick and an easy way to see if jQuery added that class or wrapped those selected elements in your new div. Select what s generated by jQuery or should be affected by your jQuery script and right-click View Selected Source to see what s actually in the DOM. I 1 Dog Days A Vector Illustration Copy Select All Lorem ipsum dolor sit amet consectetur aliqua. Ut enim ad minim veniam quis n Duis aute irure dolor In reprehenderá il occaecat cupidatat non proident sunt in G ut labore et dolore magna k ea commodo consequat. Search Coogle for Dog Days A Vec. a pariatur. Excepteur sint Vierv Selection Source Open With Editor This entry was posted on Saturday. May 29th. a entry through the RSS 2.0 feed. You can leave a H Inspect Element SEO For Firefox h follow any responses to this tAMk n. Web Developer s Toolkit View Generated Source If you find having to make a selection confining and would like to see what the entire generated source is you can use the Web Developer s Toolkit to see the page as affected by jQuery. 256 .