call dhtmlx element from perl cgi

Hi anyone can help me ?

I can’t load dhmlxgrid on my page from perl.cgi script

i use in perl script

   print <<DHTMLX;
     <div id="gridbox" style="width:350px;height:250px;background-color:white;overflow:hidden"></div>
<script>mygrid = new dhtmlXGridObject({
    parent: 'gridbox',
    image_path: "../../codebase/imgs/",
    skin: "dhx_skyblue",
    columns: [{
        label: "Column A",
        width: 100,
        type: "ro",
        sort: "int",
        align: "right";
    }, {
        label: "Column B",
        width: 250,
        type: "ed",
        sort: "str",
        align: "left";
    }],
    multiselect: true,
    xml: "../common/grid.xml";
});</script>
DHTMLX

but form is empty …

if put the same code on php page than grid is show

Code is valid, and it must be script language agnostic.

Check that js and css includes are the same on the perl page as on the php page. And that js and css files of the grid is really accessible by those urls.