S.ui.createpulldown = function() {
function someName(){
}
someName() // gets called
}
someName() // does not get called, when outside because of scope issue.
我想在s.ui.createpulldown
函数之外调用这个函数。是否有可能,在什么样的变化,我必须做出function someName()
另一个功能里面的调用函数
为什么不在外面定义'someName'呢? – 2012-01-05 15:24:49