Hey. How can I solve the problem:
- in case of successful loading of the script, call up the connection of another file (and its execution) and then execute the source file.
-If the connection fails, call the error.js file.
I understand that I ask a lot. I found http://javascript.ru/blog/Ilya-Kantor/Zagruzka-dannyh-cherez-SCRIPT-s-otlovom-oshibok , but it works incorrectly for me. Interests while the option on pure JS.