extjs - how to load a same funcion twice in javascript file -
i having init function , want load init function again calling same method. want refresh once same loaded page.
example code is
ext.onready(kbase.init, kbase);
this call
kbase.init = function(){ /* ... */ }
i want load init function again in same js file. or else want refresh once same js page.
just try call init function once more.
ext.onread(kbase.init, kbase); /* ... */ $("button").click(function(){ kbase.init; });
or check if there "updated" function object.
Comments
Post a Comment