I am using some javascript to go out to ajax post but the issue I am having is the following. I am using Datatable version 1.9.4
<script type="text/javascript">
 $(function () {
     var myTable =  $('#allSubmissions').DataTable({
         'iDisplayLength': 15,
         "bSort": true,
         "sPaginationType": "full_numbers",           
         "bLengthChange": false,
         "bDestroy": true,
         "bRetreive": true,
         "searching": true,
     });
     $('#search-inp').on('keyup', function () {
         myTable.search($(this).val()).draw();
     });
 });
</script>
The issue I am having is that it says Search does not exist. The rest of the software is using DataTable which I must do the same any ideas as why it cant access https://datatables.net/ search function.
Also how does one replace the text box that is on the grid with the custom one basically I need to pass the values to a ajax post
