Hi,
I have a function that loads a dhtmlXWindow, adds a status bar and then loads body content using attachURL.
function doOnRowSelectedOrderGrid(id){
if (!dhxWins) dhxWins = new dhtmlXWindows();
dhxWins.setImagePath("images/fam/");
var orderWin = dhxWins.createWindow("orderGridWindow", 0, 0, 450, 464);
orderWin.attachURL("orders/loadOrderData.php?id="+id, true);
var sb = orderWin.attachStatusBar();
}
from the loadOrderData.php page i want to be able to set the text of the status bar.
I have tried several variations like
<script>
parent.sb.setText('test text');
parent.dhxWins.window("orderGridWindow").sb.setText('test text');
</script>
but neither of these work can you please help me?