Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ikhsan on Mar 03, 2009 22:47
open dhtmlx forum
dhtmlx tabbar didn't work with IE

dear all

i have an employee record list and i put it on dhtmlxgrid, onEnter event, i put some script that call detail data from selected employee record via dhtmlxwindow with dhtmlxtabbar attached.

var empid=empgrid.getSelectedRowId();
if (empid==null)
{
    alert ("choose employee record");
}
else
{
    var empno=empgrid.cells(empid,0).getValue();
    empwin = new dhtmlXWindows
    empwin.setImagePath('jslib/imgs/');
    empwin.createWindow("empaddr_"+empid, 100, 100, 800, 500);
    empwin.window('empaddr_'+empid).setText('Edit employee data');
    empwin.window('empaddr_'+empid).center();
    emptab=empwin.window('empaddr_'+empid).attachTabbar();
    emptab.setHrefMode("iframes");
    emptab.setImagePath('jslib/imgs/');
    emptab.addTab("emp_addr","Address",100);
    emptab.addTab("emp_fml","Family",100);
    emptab.addTab("emp_edu","Education",100);
    emptab.setContentHref("emp_addr","phplib/get_emp_addr.php?id="+empno);
    emptab.setContentHref("emp_fml","phplib/get_emp_fml.php?id="+empno);
    emptab.setContentHref("emp_edu","phplib/get_emp_edu.php?id="+empno);
    emptab.setTabActive("emp_addr");
}

this script work fine with firefox, but when i try it in IE, IE said that Internet Explorer cannot open internet site "http://localhost/esdp/workspace/."
Connection aborted
Answer posted by Alex (support) on Mar 04, 2009 02:23

Hello, 

The issue was not reproduced locally. We have attached the sample

Attachments (1)
sample.zip52.90 Kb