Program2.0

Posts Tagged ‘ajax

Most Wanted Ajax Techniques

Posted by: spaceufo on: November 4, 2008

From : http://ajaxian.com/archives/groups-of-50-ajax-examples
Noupe keeps the roundups going with Most Wanted Ajax Techniques: 50+ Examples and Tutorials that consists of a lot of projects we have covered over time, but some new ones, and the added touch of putting it together in one place.
Ajax Forms

Server side jQuery with Jaxer
Ajax login form (PHP & Javascript)
Form Plugin

ShoutBox

wTag [...]

Tags: ,

Ajax/Prototype 1.4.0

Posted by: spaceufo on: May 19, 2007

* Ajax 객체
이 객체는 AJAX기능을 제공하는 많은 다른 클래스를 위한 root와 명명공간(namespace)처럼 제공한다
+ 프라퍼티
- activeRequestCount : 진행중인 AJAX요청의 수
+ 메소드
- getTransport() : 새로운 XMLHttpRequest 객체를 반환
* Ajax.Responders 객체
Enumerable를 상속하였다.
Ajax관련 이벤트가 발생할때 호출될 객체의 목록을 보존한다.
당신이 AJAX작업을 위한 전역 예외 핸들러를 연결하길 원한다면 이 객체를 사용할수 있다.
Ajax 를 컨트롤하기 위해서 내부적으로 사용되어 지는것 같다.
+ 프라퍼티
- responders [...]

일반적인 ajax식

Posted by: spaceufo on: April 6, 2007

http://www-128.ibm.com/developerworks/web/library/x-ajaxxml3/index.html에서 발췌…
var req = null;
function loadUrl( url ) {
if(window.XMLHttpRequest) {
try { req = new XMLHttpRequest();
} catch(e) { req = false; }
} else if(window.ActiveXObject) {
try { req = new ActiveXObject(’Msxml2.XMLHTTP’);
} catch(e) {
try { req = new ActiveXObject(’Microsoft.XMLHTTP’);
} catch(e) { req = false; }
} }
if(req) {
req.open(’GET’, url, true);
req.send(”);
}
}
window.setInterval( function watchReq() {
if ( req != null [...]

Tags:

Spaceufo’s Twitter

Social code

Site Meter
Join My Community at MyBloglog!Add to Technorati Favoritesfree web stats Blog Ratings
My BlogCatalog BlogRank
마가린 바르기 bookmarkr.net metags WZD.com 네이버에 북마크 다음에 북마크 HanRSS에 북마크하기 이올린에 북마크하기 Pumfit에 글 올리기 del.icio.us에 북마크하기
Bookmark and Share