티스토리 뷰

*전자정부 모바일 프레임워크(폰갭) - window.plugins.EgovInterface.post() or get() 

파라미터들

uri = 호출하고자 하는 uri

accepType : HTTP Header의 Accept-Type을 설정.

param : 입력파라미터, JSON이나 xml타입?

successCallback : GET or POST Method에 대한 응답값을 성공적으로 구하였을 때 수행하는 함수

 

*폰갭 세션

//Local Storage 저장
function setLocalStorage(strKey,strVal){
    window.localStorage[strKey] = strVal;
}
//Local Storage 조회
function getLocalStorage(strKey){
    var rtnVal="";
    rtnVal = window.localStorage[strKey];
    return rtnVal;
}
//Session Storage 저장
function setSessionStorage(strKey,strVal){
    window.sessionStorage[strKey] = strVal;
}
//Session Storage 조회
function getSessionStorage(strKey){
    var rtnVal="";
    rtnVal = window.sessionStorage[strKey];
    return rtnVal;
}

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함