A cópia do código é a seguinte:
<! Doctype html public "-// w3c // dtd xhtml 1.0 transitional // pt" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-bransitional.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv = "content-type" content = "text /html; charset = gb2312" />
<title> unt intitulado Documento </title>
<script src = "http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.min.js"> </script>
<script type = "text/javascript">
$ (function () {
// código jQuery
var Oldhh;
var Oldmin;
Var Oldss;
$ (document) .ready (function () {
FILLDATE ();
});
function filmate () {
var date = new Date ();
var yy = date.getlyear ();
var mm = date.getMonth ()+1; // interceptar o mês,
var dd = date.getDate (); // interceptar a data,
var cal = yy+"."+mm+"."+dd;
var hh = date.gethours (); // interceptar as horas,
var min = date.getminutes (); // Minutos do Seave,
var ss = date.getTime () % 60000;
ss = (ss - (ss % 1000)) / 1000; // Então, processe os milissegundos obtidos em segundos
// (hh+":"+min+":"+ss);
oldhh = hh;
Oldmin = min;
Oldss = ss;
// alerta (Oldmin+":"+Oldss);
}
window.setInterval (teste, 1000);
function test () {
var date = new Date ();
var hh = date.gethours (); // interceptar a hora, isto é, 8
var min = date.getminutes (); // interceptar minuto, isto é, 34
var ss = date.getTime () % 60000;
ss = (ss - (ss % 1000)) / 1000; // Então, processe os milissegundos obtidos em segundos
var entre hh;
var entre mina;
var entre os anos;
if (ss <Oldss) {
betweenss = ss+60 anos;
entre hh = hh-velhohh;
entremin = (min+entre hh*60) -1 - Oldmin;
// alert ("da última atualização"+entremina+"minutos"+betweenss+"segundos");
}outro{
betweenss = ss-anticss;
entre hh = hh-velhohh;
Entremin = (min + entre hh*60) - Oldmin;
//$("#MESSAGE").html("From the Last Refresh "+entremin+" Minutes "+entre Betweenss+" Seconds ");
// alert ("da última atualização"+entremina+"minutos"+betweenss+"segundos");
}
if (entremin <10) {
if (betweenss <10) {
$ ("#message"). html ("distância da última atualização"+entremin+"minuto 0"+bestweenss+"segundo");
}outro{
$ ("#message"). html ("0 da última atualização" + entremin + "minuto" + bestweenss + "segundo");
}
}outro{
if (betweenss <10) {
$ ("#message"). html ("distância da última atualização"+entremin+"minuto 0"+bestweenss+"segundo");
}outro{
$ ("#message"). html ("distância da última atualização"+entremin+"minutos"+bestweenss+"segundos");
}
}
}
});
função bystateflag ()
{
alerta ("hah");
var value = document.getElementById ("stateflag").
alerta (valor);
}
</script>
</head>
<Body>
<div id = "mensagem">
</div>
<select id = "stateflag" name = "stateflag" onchange = "bystateflag ()">
<opção selecionada value = ""> status de negociação </pption>
<opção value = "0"> em andamento </pption>
<opção value = "1"> encerrar a transação </pption>
<opção value = "3"> comprador bloqueou as mercadorias </pption>
<opção value = "4"> Pagamento do comprador </pption>
<opção value = "5"> conclusão da transação </pption>
</leclect>
</body>
</html>