Hi ,

I am developing a workflow where i am writing a ajax code in onchange
event of dnlookup field to get server date from browser, i am getting
the date values correctly but i am not able to submit the form or more
correctly the workflow engine it is not transferring the data from one
activity to another, i dont understand how to make ajax calls in novell
user app, can someone please give me the possible solution it is
urgent.

Note:- Given below is the sample code i wrote.

Thanks,
Debaditya Ghosh.




Ajax code to get Server Date.

var xmlHttp;

function srvTime(){



if (window.XMLHttpRequest)

{

// code for IE7+, Firefox, Chrome, Opera, Safari

xmlhttp=new XMLHttpRequest();

//return xmlhttp;

}

else if (window.ActiveXObject)

{

// code for IE6, IE5

xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");

//return xmlhttp;

}

else

{

alert("Your browser does not support XMLHTTP!");

}



xmlhttp.open('GET',window.location.href,false);

xmlhttp.setRequestHeader("Content-Type", "text/html");

xmlhttp.send('');

return xmlhttp.getResponseHeader("Date");



}



var st = srvTime();

var date = new Date(st);

alert(date);


--
debaditya_ghosh3
------------------------------------------------------------------------
debaditya_ghosh3's Profile: http://forums.novell.com/member.php?userid=72430
View this thread: http://forums.novell.com/showthread.php?t=401939