Calling Named Function From Other Named Function In Javascript
I have run into a problem with a named function in Javascript. I have this reload function SN.Reload = function(settings) { var _timer = null; var $grid = null;
Solution 1:
No, because simply LoadData
does not exist outside the scope of SN.Reload
If you do want to re-use the LoadData
function, do not restrict it's scope to being inside SN.Reload
and instead, perhaps (depending on what you want), attach it to the namespace as SN.LoadData
Post a Comment for "Calling Named Function From Other Named Function In Javascript"