Danh mục

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

Số trang: 10      Loại file: pdf      Dung lượng: 631.48 KB      Lượt xem: 5      Lượt tải: 0    
Xem trước 2 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

CHAPTER 8 ■ EDITING THE CALENDAR WITH AJAX AND JQUERYConfiguring the Form Submission Event Handler for DeletionConfirming event deletion requires a little more modification to init.js. To execute properly, the value of the Submit button needs to be stored and passed to the processing file. This is because the form can be submitted with either Yes, Delete It or Nope! Just Kidding! as values; the script checks which button was clicked to determine what action to take. To store the button’s value, use the this keyword as the jQuery selector, and then store the returned string from .val() as a...
Nội dung trích xuất từ tài liệu:
Tương tác giữa PHP và jQuery - part 31

Tài liệu được xem nhiều: