我设计了 Javascript 函数 My.js 它包含以下代码
My.js
function display(){
//Call to another Javascript function defined as ShowUser() in selectUser.js
showUser(str);
}
SelectUser.js has
function showUser(Str){
//Do the display
}
现在,我的问题是:我想从 My.Js 本身调用 showUser() 。有人建议如何拨打电话吗?我应该包括任何东西吗?