Báo cáo tài liệu vi phạm
Giới thiệu
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
THỊ TRƯỜNG NGÀNH HÀNG
NÔNG NGHIỆP, THỰC PHẨM
Gạo
Rau hoa quả
Nông sản khác
Sữa và sản phẩm
Thịt và sản phẩm
Dầu thực vật
Thủy sản
Thức ăn chăn nuôi, vật tư nông nghiệp
CÔNG NGHIỆP
Dệt may
Dược phẩm, Thiết bị y tế
Máy móc, thiết bị, phụ tùng
Nhựa - Hóa chất
Phân bón
Sản phẩm gỗ, Hàng thủ công mỹ nghệ
Sắt, thép
Ô tô và linh kiện
Xăng dầu
DỊCH VỤ
Logistics
Tài chính-Ngân hàng
NGHIÊN CỨU THỊ TRƯỜNG
Hoa Kỳ
Nhật Bản
Trung Quốc
Hàn Quốc
Châu Âu
ASEAN
BẢN TIN
Bản tin Thị trường hàng ngày
Bản tin Thị trường và dự báo tháng
Bản tin Thị trường giá cả vật tư
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
NGÀNH HÀNG
NÔNG NGHIỆP, THỰC PHẨM
Gạo
Rau hoa quả
Nông sản khác
Sữa và sản phẩm
Thịt và sản phẩm
Dầu thực vật
Thủy sản
Thức ăn chăn nuôi, vật tư nông nghiệp
CÔNG NGHIỆP
Dệt may
Dược phẩm, Thiết bị y tế
Máy móc, thiết bị, phụ tùng
Nhựa - Hóa chất
Phân bón
Sản phẩm gỗ, Hàng thủ công mỹ nghệ
Sắt, thép
Ô tô và linh kiện
Xăng dầu
DỊCH VỤ
Logistics
Tài chính-Ngân hàng
NGHIÊN CỨU THỊ TRƯỜNG
Hoa Kỳ
Nhật Bản
Trung Quốc
Hàn Quốc
Châu Âu
ASEAN
BẢN TIN
Bản tin Thị trường hàng ngày
Bản tin Thị trường và dự báo tháng
Bản tin Thị trường giá cả vật tư
Thông tin
Tài liệu Xanh là gì
Điều khoản sử dụng
Chính sách bảo mật
0
Trang chủ
Công Nghệ Thông Tin
Đồ họa - Thiết kế - Flash
JQuery: Novice to Ninja- P19
Đang chuẩn bị liên kết để tải về tài liệu:
JQuery: Novice to Ninja- P19
Thanh Tâm
53
15
pdf
Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG
Tải xuống
JQuery: Novice to Ninja- P19:No matter what kind of ninja you are—a cooking ninja, a corporate lawyer ninja, or an actual ninja ninja—virtuosity lies in first mastering the basic tools of the trade. Once conquered, it’s then up to the full-fledged ninja to apply that knowledge in creative and inventive ways. | Forms Controls and Dialogs 247 You might be curious about the use of the trigger function. It s simply a different way to cause an event to fire so in this example we could also have used the editable.blur syntax we ve already seen . The trigger action is more flexible than its shorter counterpart but for now we ll just stick with the basic usage. trigger is being used in this example for clarity to show whoever is reading the code that we want to manually fire an event. In this case we re just passing on the event the input was blurred so we tell the original element that it s time to finish editing. We could manage all of this inside the input box s blur event handler but by delegating the event like this we avoid nesting our code another level which would make it harder to read . It also makes sense to let the original element deal with its own logic. The counterpart to trigger is bind. bind lets us add event handlers to an object. Sound familiar So far we ve been binding events by using shorthand convenience methods like click hover ready and so on. But if you pop the hood you ll see that internally they all rely on bind. The bind action takes a string containing the name of the event to bind and a callback function to run. You can also bind multiple events to an item in a single call by wrapping them in an object. For example our code attached three separate events to .editable and .editable-area elements click hover and blur. If you wanted to you could rewrite that with the bind syntax .editable .editable-area .bind hover function e Hover event handler click function e Click event handler blur function e Blur event handler Let s return to our example with the editing over we can go back to our default state. We ll grab the value from the form element and send it to the server with .post putting a Saving . message in place as we do so. When the POST is done we eliminate the message and replace it with the updated value. As with the Ajax 248 jQuery Novice to .
TÀI LIỆU LIÊN QUAN
jQuery: Novice to Ninja
JQuery: Novice to Ninja by Earle Castledine and Craig Sharkie
jQuery: Novice to Ninja full
JQuery: Novice to Ninja- P1
JQuery: Novice to Ninja- P2
JQuery: Novice to Ninja- P3
JQuery: Novice to Ninja- P4
JQuery: Novice to Ninja- P5
JQuery: Novice to Ninja- P6
JQuery: Novice to Ninja- P7
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.