‘onload’ is supported by the following HTML tags:
<body>, <frame>, <frameset>, <iframe>, <img>, <link>, <script>
And the following Javascript objects:
image, layer, window
More Related Contents:
- How to run a function when the page is loaded?
- Attach a body onload event with JS
- .val() don't edit input
- jQuery Data vs Attr?
- JavaScript code to stop form submission
- jQuery ID selector works only for the first element
- Dynamically set value of a file input [duplicate]
- Cross-browser multi-line text overflow with ellipsis appended within a fixed width and height
- How to read text file in JavaScript
- Why does forms with single input field submit upon pressing enter key in input
- How to style “input file” with CSS3 / Javascript? [duplicate]
- AngularJS – Value attribute on an input text box is ignored when there is a ng-model used?
- Replace words in the body text
- Retrieving HTML5 video duration separately from the file
- How to get nth-child selector to skip hidden divs [duplicate]
- AngularJS: Better way to watch for height change
- Why don’t audio and video events bubble?
- HTML5 Audio tag on Safari has a delay
- How can I add “href” attribute to a link dynamically using JavaScript?
- Good Reasons why not to use Iframes in page content [closed]
- Cannot use import statement outside a module
- Silent print an embedded PDF
- Search and Highlight in jQuery
- Is it possible to add html inside a title attribute?
- Is there a way to get a element to link to a location without wrapping it in an
- create screenshot of webpage using html2canvas (unable to initialize properly)
- draw 10,000 objects on canvas javascript
- How to make the HTML renders before the alert is triggered?
- No sound on iOS 6 Web Audio API
- find words in html page with javascript