Datable page Turn event handling

Source: Internet
Author: User
JQuery DataTable Plugin, click Next page in the Click event Invalid issue (2013-10-16 16:01:54) reprint
Category: C #
In the MVC project, I used the jquery DataTable to implement the foreground page query table data display. But when I click on the next page, I don't respond to my jquery click events. In the first page of the point can respond to click events. Why, it feels like the next page of the table data is generated by Dynamic JS. And jquery was loaded the first time the page was loaded. For jquery, the next page of tabular data is equivalent to future HTML tag data. So the Click event cannot be answered. We use jquery's $ ("body"). Delegate (' #showrule_table. Doshow ', ' click ', Function () {});d Elegate method can be found to respond to future labels.

Datable page Turn event handling

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.