0
리디렉션 목적으로 스크립트를 추가하고 싶습니다.amember 프로에서 jquery를 사용하는 방법
/amember/library/Am/Paysystem/Abstract.php in thanksaction function
에 내가 코드
$response->addScript()
->setScript(<<<CUT
jQuery(function($){
window.location.href ="http://www.google.com/";
});
CUT
);
다음 사용하고하지만 난 다음 오류가 점점 오전 :
Fatal error: Call to undefined method Am_Mvc_Response::addScript() in /amemberroot/library/Am/Paysystem/Abstract.php
이 사람이 문제가 될 수있는 것을 알고 있습니까?
미리 감사드립니다.