开发者

Is showResult a global function name in SSJS?

I used showResult as a function name in a script library and when it's called,开发者_开发百科 an error [TypeError] Error calling method showResult(string) on an object of type 'object[JavaScript Object]' occurred. If the function is defined in a xpage or renamed as showResult2, everything is OK.


No. The Reference tab in the Script Editor allows you to see all the global functions. If showResult is a function, it's defined elsewhere (e.g. in a script library).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜