Tương tác giữa PHP và jQuery - part 18 potx

Tương tác giữa PHP và jQuery - part 18 potx

Tương tác giữa PHP và jQuery - part 18 potx

... solid #123; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; -moz-box-shadow: inset 1px 2px 4px #789; -webkit-box-shadow: inset 1px 2px 4px #789; box-shadow: inset ... -webkit-border-radius: 6px; border-radius: 6px; -moz-box-shadow: inset -2 px -1 px 3px #345, inset 1px 1px 3px #BCF, 1px 2px 6px #789; -webkit-box-shadow: inset -2 px -1...

Ngày tải lên: 04/07/2014, 17:20

10 268 0
Tương tác giữa PHP và jQuery - part 11 potx

Tương tác giữa PHP và jQuery - part 11 potx

... Visibility is a new feature as of PHP 5. For information on OOP compatibility with PHP 4, see the PHP manual page at http://us2 .php. net/manual/en/language.oop5 .php. Public Properties and Methods ... return $this->getProperty(); } } CHAPTER 3 ■ OBJECT-ORIENTED PROGRAMMING 101 return $this->getProperty(); } public function setProperty($newval) { $this->p...

Ngày tải lên: 04/07/2014, 17:20

10 270 0
Tương tác giữa PHP và jQuery - part 14 potx

Tương tác giữa PHP và jQuery - part 14 potx

... 0, $this->_m, 1, $this->_y); $end_ts = mktime(23, 59, 59, $this->_m+1, 0, $this->_y); $start_date = date('Y-m-d H:i:s', $start_ts); $end_date = date('Y-m-d H:i:s', ... called db-cred.inc .php in the config folder (/sys/config/db-cred.inc .php) . Inside, create an array called $C (for constants), and store each piece of data as a new key-value pair:...

Ngày tải lên: 04/07/2014, 17:20

10 280 0
Tương tác giữa PHP và jQuery - part 30 potx

Tương tác giữa PHP và jQuery - part 30 potx

... array in ajax.inc .php: < ?php /* * Enable sessions */ session_start(); /* * Include necessary files */ include_once ' / / /sys/config/db-cred.inc .php& apos;; /* ... $(".admin-options form,.admin").live("click", function(event){ CHAPTER 8 ■ EDITING THE CALENDAR WITH AJAX AND JQUERY 300 . strtolower($class_name) . '.inc .php&...

Ngày tải lên: 04/07/2014, 17:20

10 205 0
Tương tác giữa PHP và jQuery - part 31 potx

Tương tác giữa PHP và jQuery - part 31 potx

... is unavailable, and it doesn’t make sense (see Figure 8-8 ). CHAPTER 8 ■ EDITING THE CALENDAR WITH AJAX AND JQUERY 307 Figure 8-9 . After deleting "Test Event", the event title ... Delete button work: < ?php /* * Enable sessions */ session_start(); /* * Include necessary files */ include_once ' / / /sys/config/db-cred.inc .php& apos;; /...

Ngày tải lên: 04/07/2014, 17:20

10 259 0
Tương tác giữa PHP và jQuery - part 32 potx

Tương tác giữa PHP và jQuery - part 32 potx

... type="text/css"> em { background-color: #FF0; border-top: 1px solid #000; border-bottom: 1px solid #000; } </style> </head> <body> < ?php /* * Store the sample ... in day-to-day programming. Understanding Basic Regular Expression Syntax In this book, you’ll learn Perl-Compatible Regular Expression (PCRE) syntax. This syntax is compati...

Ngày tải lên: 04/07/2014, 17:20

10 329 0
Tương tác giữa PHP và jQuery - part 34 potx

Tương tác giữa PHP và jQuery - part 34 potx

... simply repeat the month-matching pattern to validate the day using a repetition operator after the group: /^(\d{4} (-\ d{2}){2})/ (see Figure 9-1 8). Figure 9-1 8. Adding the day part of the date string ... PDO::PARAM_STR); $stmt->bindParam(":end", $end, PDO::PARAM_STR); $stmt->execute(); $stmt->closeCursor(); /* * Returns the ID of the event */...

Ngày tải lên: 04/07/2014, 17:20

10 213 0
Tương tác giữa PHP và jQuery - part 1 pptx

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

10 339 0
Tương tác giữa PHP và jQuery - part 2 ppt

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

10 265 0
Tương tác giữa PHP và jQuery - part 3 ppsx

Tương tác giữa PHP và jQuery - part 3 ppsx

... 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

10 302 0
w