TypeError: this.entBox is null

Hy all!

I have got a problem with my grid.js


and the main part of my code is : (from the “Telefonkonyv”)


<body >

<div id="gridbox" ></div>



<?php
$xml =$root.'kozos/Telefonkonyv/connector.php';

echo'
<div id="gridbox" width="1120px" height="600px"></div>
<script>

    doOnLoad("'.$xml.'"); (<- this is the line what the error msg indicated)

</script>
'
;
?>
</body>

Could you please, provide with a more detailed sample with the grid initialization.
Error indicates that you are attaching the dhtmlxGrid object to an undefined div container.