ajax.updater 뒤로 가기 하는 법좀 가르쳐 주세요.. 정보
ajax.updater 뒤로 가기 하는 법좀 가르쳐 주세요..본문
Ajax를 이제 공부해보는 학생인데요.
Ajax.Updater 뒤로가기를 못하겠어요.
function initialize() {
dhtmlHistory.initialize();
dhtmlHistory.addListener(hr_searchHistory);
}
function hr_searchHistory(newLocation, historyData) {
//이 메소드는 어떻게 써야하는지..ㅠ_ㅠ
if (newLocation == 'hr' && historyData !== null) {
new Ajax.Updater({success: $("listv") },newLocation,{ method: 'get', parameters: historyData});
} else {
$("listv").innerHTML = " " ;
}
}
function list(pagenum) {
var url = "./bcon" ;
var divName = $("listv") ;
var param = "pagenum=" + pagenum ;
new Ajax.Updater( { success : divName }, url, {method : 'get', parameters : param }) ;
dhtmlHistory.add('hr' + pagenum, "여기에 어떤걸 넣어야 하는지;;") ;
}
}
dhtmlHistory.js파일을 어떻게 이용해야 하는지 모르겠어요ㅠ_ㅠ
아시는 분 가르쳐 주세요.
Ajax.Updater 뒤로가기를 못하겠어요.
function initialize() {
dhtmlHistory.initialize();
dhtmlHistory.addListener(hr_searchHistory);
}
function hr_searchHistory(newLocation, historyData) {
//이 메소드는 어떻게 써야하는지..ㅠ_ㅠ
if (newLocation == 'hr' && historyData !== null) {
new Ajax.Updater({success: $("listv") },newLocation,{ method: 'get', parameters: historyData});
} else {
$("listv").innerHTML = " " ;
}
}
function list(pagenum) {
var url = "./bcon" ;
var divName = $("listv") ;
var param = "pagenum=" + pagenum ;
new Ajax.Updater( { success : divName }, url, {method : 'get', parameters : param }) ;
dhtmlHistory.add('hr' + pagenum, "여기에 어떤걸 넣어야 하는지;;") ;
}
}
dhtmlHistory.js파일을 어떻게 이용해야 하는지 모르겠어요ㅠ_ㅠ
아시는 분 가르쳐 주세요.
댓글 전체