The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Script Tag

View previous topic View next topic Go down

Script Tag

Post by TamDonCo on September 21st 2016, 5:20 am

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

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>

TamDonCo
Forumember

Posts : 180
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

Re: Script Tag

Post by SSYT on September 30th 2016, 8:07 pm

Try it ajax form to load and cache

SSYT
Forumember

Male Posts : 41
Reputation : 2
Language : RO-10, EN-3, FR-1
Location : Romania

http://help.forumgratuit.ro/forum

Back to top Go down

Re: Script Tag

Post by TamDonCo on October 1st 2016, 1:52 am

@SSYT wrote:Try it ajax form to load and cache

Does not work, the error comes before the code ... it relates to something likes Window OnError ... I need to research more

TamDonCo
Forumember

Posts : 180
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum