I’m trying to fetch xml from a remote page, i have :
<script type="text/javascript" language="JavaScript">
/*<![CDATA[*/
function createChartControl(htmlDiv1)
{
// Create Gantt control
var ganttChartControl = new GanttChart();
// Setup paths and behavior
ganttChartControl.setImagePath("/images/dhtmlxgantt/");
// Build control on the page
ganttChartControl.create(htmlDiv1);
// Load data structure
ganttChartControl.loadData('/plannings/make_xml_for_dhtmlx/26671/19',true,true);
}
/*]]>*/
</script>
and when i fire :
createChartControl('GanttDiv')
in firebug, i’m getting this :
and this :
i read this request should be a POST one, but it seems to fail while my server can handle POST and GET requests…
well it was likely to work but i still get this error :
and the real bug is that when i copied my former xml ( d.pr/kPmh ) into the ganttsample.xml I’m getting back the file not found error. It seems that it’s not displaying a correct message error… (and it also seems that my xml is misformed, but i have not been able to find out where)