锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产av无码专区亚洲av毛片搜,久久精品国产亚洲AV麻豆~,亚洲国产精品日韩专区AVhttp://m.tkk7.com/Blake/category/1588.htmlJava Toxication!zh-cnTue, 27 Feb 2007 12:59:03 GMTTue, 27 Feb 2007 12:59:03 GMT60'AJAX in Action' on JavaRSShttp://m.tkk7.com/Blake/articles/5471.htmlBlake HANBlake HANThu, 02 Jun 2005 08:25:00 GMThttp://m.tkk7.com/Blake/articles/5471.htmlhttp://m.tkk7.com/Blake/comments/5471.htmlhttp://m.tkk7.com/Blake/articles/5471.html#Feedback0http://m.tkk7.com/Blake/comments/commentRss/5471.htmlhttp://m.tkk7.com/Blake/services/trackbacks/5471.htmlJavaRSS, an aggregation site, has published an article called "AJAX in Action," showing how AJAX is being used on the site to display summaries of items based on mouseover, rather than including the summaries in the home page. Benefits for JavaRSS included a front page that was much smaller and, thus, much faster on initial load.

The heart of the AJAX functionality is in this code, which talks to a custom JSP page on JavaRSS to retrieve the description:

function getDescription(channelId,itemId) {
  
var url = 'http://localhost:8080/getDescription.jsp?channelId=' + channelId + '&itemId=' + itemId;
  if (window.XMLHttpRequest) {
    req 
= new XMLHttpRequest();
  } 
else if (window.ActiveXObject) {
    req 
= new ActiveXObject("Microsoft.XMLHTTP");
  }
  req.onreadystatechange 
= processRequest;
  req.open(
"GET", url, true);
  req.send(
null);
}

function processRequest() {
  
if (req.readyState == 4) {
    
if (req.status == 200) {
      parseMessages();
    } 
else {
      alert ( 
"Not able to retrieve description" );
    }
  }
}

function parseMessages() {
  response 
= req.responseXML.documentElement;
  itemDescription 
= response.getElementsByTagName('description')[0].firstChild.data;
  alert ( itemDescription );
}


There has been a large amount of AJAX-related content on the Internet lately. Is AJAX poised to revolutionize the web user interface? Also, JavaRSS uses a setting to enable AJAX in the user interface. How are you handling cases where the browser might not be able to handle AJAX? What about accessibility? Has anyone worked out how to handle blind users' interactions with AJAX?



Blake HAN 2005-06-02 16:25 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 亚洲人成在线播放| 亚洲男人的天堂www| 亚洲人妖女同在线播放| 99久久免费观看| 亚洲一区精品中文字幕| 久久99青青精品免费观看| 亚洲AV无码专区在线播放中文| a毛片免费观看完整| 亚洲成a人片在线观看日本| 日韩免费高清播放器| 亚洲AV午夜福利精品一区二区| 国产日韩一区二区三免费高清| 亚洲AV区无码字幕中文色 | 亚洲人成网站观看在线播放| 亚洲Av永久无码精品一区二区| 日韩在线免费看网站| 免费在线人人电影网| 国产精品亚洲mnbav网站 | 日韩在线视频播放免费视频完整版| 亚洲第一区精品观看| 三年片免费高清版| 久久精品国产亚洲AV大全| 日韩精品成人无码专区免费| 亚洲av无码专区首页| 国产亚洲精品a在线观看| 国产精品免费福利久久| 亚洲av乱码一区二区三区| 国产国产成年年人免费看片| 亚洲天堂免费在线视频| 亚洲国产综合精品中文第一区| 国产精品69白浆在线观看免费| 久久亚洲中文字幕无码| 久久久久久a亚洲欧洲aⅴ| 免费无码又黄又爽又刺激| 人体大胆做受免费视频| 亚洲丝袜美腿视频| 免费va人成视频网站全| 四虎成人精品永久免费AV| 亚洲av无码专区在线电影| 亚洲AV成人精品网站在线播放| 四虎影视免费在线|