0
Spotfire analisys를로드 할 때 스크립트를 실행해야합니다.Tibco SPOTFIRE 7.5 analysys로드시 사용자 정의 스크립트를 실행하는 방법
의 JScript :
$(function() {
function executeScript() {
$('#hiddenBtn input').click();
}
$(document).ready(function(){executeScript()});
});
HTML :
<Span style="display:none" id="hiddenBtn">
<SpotfireControl id="f8322a6109af43fb935ad6e7bcb1f1fc" /></span>
if Document.Properties["OpenedYet"] == False:
Document.Properties["OpenedYet"] = True
## Script you are trying to run on open here
하지만
이벤트 $ (문서) .ready() 지속적으로 화재 및 스크립트는 지속적으로 실행되었다. $ (document) .load() 또는 $ (window) .load()를 시도했지만 이벤트가 발생하지 않았습니다. 스크립트를 실행하는 방법이 있습니다 ONCE로드 중입니까?
되세요 "로드"맥락은 무엇인가? Spotfire Desktop (두꺼운 클라이언트) 또는 웹 플레이어 (웹 브라우저)에 있습니까? 후자의 경우 사용자가 일종의 포털의 링크에서 파일에 액세스하거나 Spotfire 라이브러리를 탐색하여 파일을 여는 경우입니까? – niko