Have one (one | one) (great | great) (day | late | night)!
Well then!
By inserting many functions into a <script type="text/javascript"></script>
my code will not execute all of them!
The browser console does not show any errors, and it performs them normally if I call them from the console, but if I call them by code, the script does not execute them, nor does it show this error below : function call is undefined.
So I created an external JS file thinking that it could be the amount of functions (around 20 functions for example) but it did not work!
I researched then. I found on a certain site somewhere, I forgot what it was, that suggested adding the language="javascript" attribute: <script type="text/javascript" language="javascript">/*Código aqui*/</script>
He advanced : D ... for a short time. : /
When adding some more functions, the code does not execute anymore. But if I call them like this in the address bar: javascript: FunctionName () ; or so on the console: FunctionName () It works normally.
To not open another duplicate question I've seen here in stackoverflow similar questions. The problem with these is that people place functions within other functions, so they do not become global; Which is not my case. What could it be?
Code address: link
To test, click on the year 2016.