1、服务端赋值:
http://www.foxtable.com/mobilehelp/scr/0045.htm
With .AddInput("xm","户名","text")
.Value = "张三"
.Readonly= True
End With
function getDate(){
var result = sendAjaxText("getDate","accept.htm","",false);
document.getElementById("p1").innerHTML="今天日期:<br/>" + result;
}
function getUser(){
var result = sendAjaxText("getUser","accept.htm","",false);
var user=JSON.parse(result);
result="姓名:" + user.name + "<br/>" + "年龄:" + user.age
document.getElementById("p1").innerHTML=result;
}