아래는 추가적으로 함수 안에서 쓸수 있는 함수들이다.
구찮아서 해석은 하지 않습니다. -_-

addAssign($sTargetId,$sAttribute,$sData)

Assigns the $sAttribute of the element identified by $sTargetId to $sData

$objResponse->addAssign("contentDiv","innerHTML","Some
Text");

$objResponse->addAssign("checkBox1","checked","true");


addAppend($sTargetId,$sAttribute,$sData)

Appends $sData to the $sAttribute of the element identified by $sTargetId

$objResponse->addAppend("contentDiv","innerHTML","Some
Text");


addPrepend($sTargetId,$sAttribute,$sData)

Prepends $sData to the $sAttribute of the element identified by $sTargetId

$objResponse->addPrepend("contentDiv","innerHTML","Some
Text");


addReplace($sTargetId,$sAttribute,$sSearch,$sData)

replaces all instances of $sSearch with $sData in the $sAttribute of the element
identified by $sTargetId

$objResponse->addReplace("contentDiv","innerHTML","text","<strong>text</strong>");


addClear($sTargetId,$sAttribute)

Clears the $sAttribute of the element identified by $sTargetId

$objResponse->addClear("Input1","value");


addCreate($sParentId, $sTagname, $sId, $sType)

Adds a new $sTagName child element to an existing element identified by $sParentId,
and assigns it the id $sId and the optional type $sType.

$objResponse->addCreate("form1","input", "pass", "password");


addRemove($sElementId)

Removes the element identified by $sElementId from your application

$objResponse->addRemove("div1");


addAlert($sMsg)

Display an alert box with $sMsg

$objResponse->addAlert("This is some text");


addScript($sJS)

Execute the JavaScript code $sJS

$objResponse->addAlert("var txt = prompt('get some text');");

'웹이야기' 카테고리의 다른 글

ajax 팝업의 완결 shdowbox.js  (0) 2008/04/27
[강좌] xajax 강좌 #4  (0) 2008/04/27
[강좌] xajax 강좌 #3  (0) 2008/04/27
[강좌] xajax 강좌 #2  (0) 2008/04/27
[강좌] xajax 강좌 #1  (1) 2008/04/27
네이버는 다음이 미워.  (0) 2008/04/27
Posted by 달을파는아이 달을파는아이

트랙백 보낼 주소 :: http://www.moonseller.net/trackback/6 관련글 쓰기

댓글을 달아주세요:: 네티켓은 기본, 스팸은 사절


BLOG main image
Every day is a new life to a wise man by 달을파는아이

나의 인생 시계 만들기 >>

카테고리

분류 전체보기 (242)
나름수익모델연구 (60)
웹이야기 (55)
달을파는아이의 선택 (103)
책읽은자랑 (24)
Statistics Graph