Hi, i just downloaded the 1.2 version of tabbar component and i was trying to load a grid (dhtmlxTreeGrid_v14_Pro_70813) on one tab with the following settings:
…
This is get_tabs.php (it’s php because later i want to load the tabs from DB):
<?php
header(“Content-type:text/xml”);
echo “<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>”;
echo “”;
echo “”;
echo “BG”;
echo “”;
echo “”;
?>
And the page that has the grid is bg.php:
…
Everything loads great, but now i need a function in bg.php that has a for, i don’t know why when i insert a for in the javascript code everything stops working, the tab stays empty and no error is shown by ie. I deleted the function with the for and started to work fine again, then i added this line “for(i=0;i<3;i++) alert(i);” at the beginning of the script and it stopped working again. Please help me i’ve been dealing with this for hours.
Thanks in advance