Im having problem with retrieving new values in a tree structure... I have a tree into which u can add new nodes. The newly added node is reflected in The database & is displayed in Firefox also..But in IE, it doesnot goes to the method where i retrieve the new value from the DB
- Code: Select all
function showResourceDetail(id,note){
if(parseInt(id)>-1){
var tForm = document.accountChartList;
tForm.info_tree_txt.value=note;
tForm.nodeId.value=id;
document.getElementById("Layer22").innerHTML="<p><b> Loading . . . .</b></p>";
makeRequest(id);
showhide(document.getElementById("mouseX").value, document.getElementById("mouseY").value);
}
}
function makeRequest(id) {
if (window.XMLHttpRequest) { // Mozilla, Safari,...
http_request = new XMLHttpRequest();
} else if (window.ActiveXObject) { // IE
http_request = new ActiveXObject("Microsoft.XMLHTTP");
}
http_request.onreadystatechange = alertContents;
var url='loadAccountRevisedBudgetDetails.action?parentCatId='+id;
alert("id="+id);
http_request.open('GET', url, true);
http_request.send(null);
}
on clicking each node it calls the script showResourceDetail.. But in many cases even though from that script it goes to makeRequest(id), my url is not called.. Can anyone help me out...


