requested unknown parameters "0" for row 0

requested unknown parameters "0" for row 0

deny22deny22 Posts: 3Questions: 2Answers: 0

i get an error requested unknown parameters "0" for row 0 whats that meaning? i have looking for the answer and still getting this error this is debug code http://debug.datatables.net/oxidom

html and js





">
Tambah Angsur
 
                <form method="POST" action="keu.php?hal=201.delall">
                    <input class="form-control" name="npm2" type="hidden" value="<?php echo $idn; ?>">
                    <div align="center" class="list-group">
                        <table id="myTable" class="table table-striped" style="font-size:11px">
                            <tr>
                                <thead> 
                                    <th><b/>No</th>
                                    <th><b/>Tahap</th>
                                    <th><b/>Tagihan</th>
                                    <th><b/>Tempo</th>
                                    <th><b/>Action</th>
                                    <th><b/></th>
                                </thead>
                            </tr>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                            </tr>
                            </tbody>
                        </table>
                        <div align="center"><button type="submit" name="btndel" class="btn btn-success" onClick="return confirm('Are you sure to delete ?')">Delete Rencana</button></div>&nbsp;
                    </div>
                </form>
                </div>
                <script>
                $(document).ready(function(){
                    $('#myTable').dataTable();
                });
                </script>

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Answer ✓

    <tr>
    <thead>

    That is invalid HTML. The tr needs to be inside the thead.

    Allan

  • deny22deny22 Posts: 3Questions: 2Answers: 0

    oh yes.. thanks for the qiuck answer i'm sorry for noob question :)

This discussion has been closed.