<html>
<body>
<script type="text/javascript">
function ajaxFunction()
{
};
function callBack1(rlt)
{
document.title =rlt;
}
var t;
function astart()
{
var d=new Date();
//document.title =d;
//AjaxFunc();
callBack1(d);
t = settimeout(astart(),9000);
}</script><form name="myForm">
我: <input type="text" name="ii" onkeyup="ajaxFunction();" />
ni: <input type="text" name="uu" onkeypress="astart()"/>
</form></body>
</html>感觉没错啊
<body>
<script type="text/javascript">
function ajaxFunction()
{
};
function callBack1(rlt)
{
document.title =rlt;
}
var t;
function astart()
{
var d=new Date();
//document.title =d;
//AjaxFunc();
callBack1(d);
t = settimeout(astart(),9000);
}</script><form name="myForm">
我: <input type="text" name="ii" onkeyup="ajaxFunction();" />
ni: <input type="text" name="uu" onkeypress="astart()"/>
</form></body>
</html>感觉没错啊
<html>
<head>
<title></title>
</head>
<body>
<script type="text/javascript">
function ajaxFunction()
{
};
function callBack1(rlt)
{
document.title = rlt;
}
var t;
function astart()
{
var d=new Date();
//document.title =d;
//AjaxFunc();
callBack1(d);
t = setTimeout(astart,9000);
}</script><form name="myForm">
我: <input type="text" name="ii" onkeyup="ajaxFunction();" />
ni: <input type="text" name="uu" onkeypress="astart()"/>
</form></body>
</html>
行 19
字符:2
错误:缺少对象
代码:0
url:XXXX
t=setTimeout(function(){astart();},9000);