Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Enrique Prieto on Feb 22, 2009 15:37
open dhtmlx forum
Error Open Window in IE

I have an error in IE. I works in FF. I have to install VWD to watch where is the "Unknown error at runtime"

it crash at dhtmlxwindow.js

win._content.childNodes[2].innerHTML = obj

The code is very simple:

    var w1 = dhxWins.createWindow("w1", 300, 25, 350, 200);
    w1.setText(editWindow);
    w1.setModal(true);
    w1.keepInViewport(true);
    url="window/ip.jsp?uid="+(new Date()).valueOf()+"&id_address="+ipAddress[ipSelectStudy][2]+"&ip="+ipStudy;
    w1.attachURL(url, true);

Could you help me?
Answer posted by Support on Feb 23, 2009 07:35
Try this:

w1.attachURL(url, true);
replace with
w1.attachURL(url);

The second parameter in attachURL method indicates whether the content will be loaded through AJAX.
Answer posted by Enrique Prieto Conde on Feb 23, 2009 09:34

Thanks a lot.

Anyway, the problem solved because i finded a <form> tag no-closed. When i close the tag, the problem disappear