Problem with javascript code in Mozilla firefox.
[CODE]
[COLOR=”red”]//Initial Code block[/COLOR]
PhaseID = cboPPPhase.options[cboPPPhase.selectedIndex].value;
WorkflowRequest(PhaseID);
[COLOR=”Red”]//The function[/COLOR]
function WorkflowRequest(PhaseID)
{
[COLOR=”red”] //This is Ajax code block[/COLOR]
Http.get({url: “../ajax/Process.aspx?PhaseID=” + PhaseID , asynchronous:false, callback: WorkflowRequest_callback});
}
[COLOR=”Red”]//The callback function[/COLOR]
function WorkflowRequest_callback(Result)
{
if (Result.readyState==4)
{
if (Result.status==200)// if “OK”
{
WorkflowProcessResult(Result);
}
}
}
The problem here is that after calling the ajax code i cannot able to call the callback function (WorkflowRequest_callback(Result). The debugger does not come to the call back function.
[COLOR=”red”]This occurs in Mozilla browser and works perfectly in IE.