<html>
<head>
<script type="text/javascript" src="../SE137/jquery-1.4.4.js"></script>
<script type="text/javascript">
function callFileQuery()
{
$.get('time.php', function(data)
{
document.getElementById("time").innerHTML = data;
setTimeout('callFileQuery()', 1000);
});
}
</script>
</head>
<body onload="callFileQuery()">
The server time is: <span id="time"/>
</body>
</html>
and my time.php file just have
<?php
echo date("h:i:s");
?>
to print it.
how do I implement it in golang?
i read the specification, but i just cant understand it T_T
help???? please???
<head>
<script type="text/javascript" src="../SE137/jquery-1.4.4.js"></script>
<script type="text/javascript">
function callFileQuery()
{
$.get('time.php', function(data)
{
document.getElementById("time").innerHTML = data;
setTimeout('callFileQuery()', 1000);
});
}
</script>
</head>
<body onload="callFileQuery()">
The server time is: <span id="time"/>
</body>
</html>
and my time.php file just have
<?php
echo date("h:i:s");
?>
to print it.
how do I implement it in golang?
i read the specification, but i just cant understand it T_T
help???? please???