+ 1
Need help....how to turn off Javascript function with onclick button...?
can it be done without using clearInterval() ?
2 Réponses
+ 2
here is the example of function;
(function() {
}();
is it possible to stop it from execution when onclick?
0
sorry...I type wrong
it should be
(function() {
})();
This is an "immediately-invoked function expression". No HTML events (onclick, onload...etc..) needed.
It been used to freeze header <th> in HTML table. (like excel freeze panes).