Question About conflict with jQuery '$'
Question About conflict with jQuery '$'
Hello,
I am attempting to add the DataTables row select example (http://datatables.net/release-datatables/examples/api/select_single_row.html) , but I can not use oTable.$('tr.row_selected')
The following error occurs : "Uncaught TypeError: Object [object Object] Has No method '$'"
I have included jQuery.1.7.1 and DataTable.1.8.0
Any help is greatly appriciated
I am attempting to add the DataTables row select example (http://datatables.net/release-datatables/examples/api/select_single_row.html) , but I can not use oTable.$('tr.row_selected')
The following error occurs : "Uncaught TypeError: Object [object Object] Has No method '$'"
I have included jQuery.1.7.1 and DataTable.1.8.0
Any help is greatly appriciated
This discussion has been closed.
Replies
That's the problem. The $ API method is new in 1.9 ( http://datatables.net/new/1.9 ). If you upgrade to 1.9.0 then it should work fine :-)
Allan