There is no error event for the script tag. You can tell when it is successful, and assume that it has not loaded after a timeout:
<script type="text/javascript" onload="loaded=1" src="https://stackoverflow.com/questions/538745/....js"></script>
More Related Contents:
- How to dynamically insert a tag via jQuery after page load?
- How to force a script reload and re-execute?
- HTML/Javascript: how to access JSON data loaded in a script tag with src set
- How to pass parameters to a Script tag?
- What html tags support the onload/onerror javascript event attributes?
- Get data attribute of script tag?
- React: Script tag not working when inserted using dangerouslySetInnerHTML
- Does an external .js file require tags?
- How does HTML tags work inside script tag?
- Javascript: Do I need to put this.var for every variable in an object?
- Group objects by multiple properties in array then sum up their values
- Why Firefox says that window.event is undefined? (call function with added event listener)
- different result for yyyy-mm-dd and yyyy/mm/dd in javascript when passed to “new Date” [duplicate]
- How do I refresh a page using JavaScript?
- Where is the Socket.IO client-side .js file located?
- My javascript is returning this error: $.ajax is not a function
- Detect Close windows event by jQuery
- jQuery change event on not firing in IE
- Javascript and Garbage collection
- Completely lost on how to save extension popup window content
- Input field for Tags separated by comma
- How to get nodes lying inside a range with javascript?
- How can I see the machine code generated by v8?
- jQuery load content when scroll to bottom-100px of page, multiple events fired
- Split JavaScript array in chunks using Lodash
- How to get the image size (height & width) using JavaScript
- WebRTC – scalable live stream broadcasting / multicasting
- Hook a javascript event to page load
- Jquery getJSON cross domain problems
- How to have nested loops with map in JSX?