Tương tác giữa PHP và jQuery - part 20 pps
... </div><! end .admin-options > ADMIN_OPTIONS; } This adds a button that sends the user to a yet-to-be-created confirmation page called confirmdelete .php, which you’ll build later ... After this code executes, select the php- jquery_ example database from the left-hand column and click the users table to view the new table (see Figure 6-1 ). CHAPTER 5 ■ ADD CONTROLS...
Ngày tải lên: 04/07/2014, 17:20
... from the end of the selection set (e.g., passing -2 will return the second-to-last element from the set). C H A P T E R 2 ■ ■ ■ 25 Common jQuery Actions and Methods Now that you understand ... CHAPTER 1 ■ INTRODUCING JQUERY 22 After saving, reload the page in your browser at http://localhost/testing/ to see the form for testing (see Figure 1-5 ). Figure 1-5 . The...
Ngày tải lên: 04/07/2014, 17:20
... sentence is in a span."> ] 1 http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-1312295772 CHAPTER 2 ■ COMMON JQUERY ACTIONS AND METHODS 34 [ form # ] Finally, to select a ... arrow pointing upward (see Figure 2-1 ). CHAPTER 2 ■ COMMON JQUERY ACTIONS AND METHODS 38 Figure 2-2 . The multiline testing area (shown at the right-hand side of the console) With t...
Ngày tải lên: 04/07/2014, 17:20
Tương tác giữa PHP và jQuery - part 16 pps
... padding: 2px; font-size: 11px; background-color: #DEF; text-align: left; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; z-index: 1; text-decoration: none; ... black; font-weight: bold; font-style: italic; } li a:hover { background-color: #BCF; z-index: 2; -moz-box-shadow: 0 0 6px #789; -webkit-box-shadow: 0 0 6px #789; box-shadow: 0...
Ngày tải lên: 04/07/2014, 17:20
Tương tác giữa PHP và jQuery - part 23 ppsx
... implement this change, open admin .php and insert the code shown in bold: < ?php /* * Include necessary files */ include_once ' /sys/core/init.inc .php& apos;; /* * If the user ... 'assets/common/header.inc .php& apos;; /* * Load the calendar */ $cal = new Calendar($dbo); ?> <div id="content"> < ?php echo $cal->displayFor...
Ngày tải lên: 04/07/2014, 17:20
Tương tác giữa PHP và jQuery - part 26 ppsx
... .addClass("modal-close-btn") .html("×") .click(function(event){ // Prevent the default action event.preventDefault(); // Removes modal window $(".modal-window") ... everything but the modal window. CHAPTER 7 ■ ENHANCING THE USER INTERFACE WITH JQUERY 257 Figure 7-4 . The modal window mid-fade after the user clicks the Close butt...
Ngày tải lên: 04/07/2014, 17:20
Tương tác giữa PHP và jQuery - part 35 ppsx
... custom("p").css("background-color","yellow"); }) (jQuery) ; Attaching the Function to the jQuery Object To attach the function to jQuery, you can add the following code to valid-date.js: (function($){ ... Function to jQuery In your first extending jQuery example, you will add the date validation function you wrote in the last chapter to the jQuery...
Ngày tải lên: 04/07/2014, 17:20
Tương tác giữa PHP và jQuery - part 1 pptx
... the exercises in Part 3 (where you actually start building a real-world project with jQuery and PHP) . C H A P T E R 1 ■ ■ ■ 3 Introducing jQuery To fully understand jQuery and its applications ... capabilities of jQuery. By the end of this section, you will have a general grasp on the overarching concepts behind jQuery, and—after you’ve revisited object-oriented PHP...
Ngày tải lên: 04/07/2014, 17:20
Tương tác giữa PHP và jQuery - part 2 ppt
... descendent CHAPTER 1 ■ INTRODUCING JQUERY 18 documentation by a member of the development community. For more on this filter, see http://api .jquery. com/contains-selector. Selecting Elements ... INTRODUCING JQUERY 13 Only one paragraph in our document has an id of "bar", as we see in the result: >>> $("#bar"); [ p#bar ] Combining Selectors for...
Ngày tải lên: 04/07/2014, 17:20
Tương tác giữa PHP và jQuery - part 5 pdf
... be wrapped in the same tag (see Figure 2-1 3). CHAPTER 2 ■ COMMON JQUERY ACTIONS AND METHODS 46 This duplicates the result from before (see Figure 2-1 4). .wrap() The .wrap() method allows ... Figure 2-8 ). Figure 2-8 . The spans appear bold after wrapping them with strong tags The syntax used for the wrapping element is relatively forgiving, and the output shown in Figur...
Ngày tải lên: 04/07/2014, 17:20