I'm trying to get the work station time using javascript.
then i want to pass it(time) with the url to a servlet,because i need to count the time of loading and servicing time for the servlet.
Here is a sample code and i know that doesn't work,i need to know how to access that script,or in other i need to call that script and assign the value from it to a variable,then i append that variable to the url.
i could do it without frameset,but i need to make it work with frameset to be able to send concurrent requests.
thanks for your help.
//code===============
<html>
<form>
<script language = "javascript1.2">
function getTime()
{
return new Date().getTime();
}
</script>
<frameset rows="*,*">
<frame src=" >
</frameset>
</form>
</html>
//=========================
then i want to pass it(time) with the url to a servlet,because i need to count the time of loading and servicing time for the servlet.
Here is a sample code and i know that doesn't work,i need to know how to access that script,or in other i need to call that script and assign the value from it to a variable,then i append that variable to the url.
i could do it without frameset,but i need to make it work with frameset to be able to send concurrent requests.
thanks for your help.
//code===============
<html>
<form>
<script language = "javascript1.2">
function getTime()
{
return new Date().getTime();
}
</script>
<frameset rows="*,*">
<frame src=" >
</frameset>
</form>
</html>
//=========================