there were a few issues.
- my table element wasn’t closed.
- datatables needs thead and tbody elements.
- wordpress uses jquery.noconflict so i had to change my javascript file. i took out the $ and replaced it with jQuery: http://api.jquery.com/jQuery.noConflict/