Is it possible we can catch script tag error ?
I have 1 js file but different links (2 different servers)
If link 1 has error then we load it on link 2
I have 1 js file but different links (2 different servers)
If link 1 has error then we load it on link 2
- Code:
link 1 : <script type="text/javascript" " src="http://server1/test.js"></script>
link 2 : <script type="text/javascript" " src="http://server2/test.js"></script>