ChinaUnix.net
相关文章推荐:

ajax readyState 作用

readystate 属性 作 用 传回XML 文件资料的目前状况。   基本语法 intState = xmlDocument.readystate;   说 明 这个属性是只读的,传回值有以下的可能: 0-UNINITIALIZED:XML 对象被产生,但没有任何文件被加载。(send()方法还没有被调用) 1-LOADING:加载程序进行中,但文件尚未开始解析。(send()方法已经被调用,请求还是在处理中) 2-LOADED:部分的文件已经加载且进行解析,但对象模型尚未生效。(send()方法已完成,整个应...

by guoguanzhao - Java文档中心 - 2007-09-06 15:23:01 阅读(684) 回复(0)

相关讨论

app.pl[code] get '/query' => sub { $logger->debug_message("in GET /query"); template 'users'; }; ajax '/query' => sub { $logger->debug_message("in ajax /query"); print "hello",params->{user} };[/code]users.tt[code] Simple <font color="red">ajax</font> Example