Quantcast
Viewing all articles
Browse latest Browse all 82110

Documentation error / type

There is a type on this page / documentation:

http://datatables.net/extras/tabletools/initialisation


"fnRowSelected": function ( node ) {
alert( 'The row with ID '+node.id'+ was selected' );
}

should be

"fnRowSelected": function ( node ) {
                alert( 'The row with ID '+node.id+' was selected' );
            }

The mistake is in the alert statement where the last string is incorrectly concatenated.

Inexperienced users will copy and paste and wonder why it's not working.

Viewing all articles
Browse latest Browse all 82110

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>