.live event handler removed in jQuery 1.9, examples need updating

.live event handler removed in jQuery 1.9, examples need updating

LukeSLukeS Posts: 9Questions: 0Answers: 0
edited February 2013 in General
As of jQuery 1.9 the .live event handler has been removed and replaced with .on. There are a few examples that use this event handler that need updating...
http://datatables.net/release-datatables/examples/api/row_details.html
http://datatables.net/blog/Drill-down_rows
http://datatables.net/release-datatables/examples/advanced_init/events_live.html

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    This is a known problem. The site will be getting an upgrade with DataTables 1.10, which will hopefully happen in the next month or so.

    Allan
  • predrag.musicpredrag.music Posts: 8Questions: 0Answers: 0
    Use jquery migrate plugin until 1.10 is released ;)

    https://github.com/jquery/jquery-migrate/

    This works :)
This discussion has been closed.