onload
Dynamically load additional Javascript source files with createElement();
I have to load some script source dynamically. Since I can not use jQuery and did not know about the XmlHttpRequest+eval method, I tried to do it this way:[详细]
2023-02-05 17:41 分类:问答Determine current / own iframe
What is the best way to determine the iframe DOM element a page is being displayed in ? I need to notify the parent window when the iframe\'s contents have really finished loading (iframe onload look[详细]
2023-02-04 14:06 分类:问答How to override onLoad?
I\'m using this page that has a very annoying alert(its typical JavaScript alert, 开发者_C百科so any other hacks are welcome) that is displayed onLoad, can I stop it somehow with GM?[详细]
2023-02-03 23:38 分类:问答Initializing an openlayers map from an external Javascript file
My aim is to load an OpenLayers map using an external JS file. In the head I have a jQuery library, and in the body I have the OpenLayers library, my Openlayers code and the div tag.[详细]
2023-02-03 08:40 分类:问答Adding an onload event to body of iFrame does not work
I am trying to dynamically add an iFrame to a page and insert a \'script\' tag to the \'head\' tag of the iFrame.I am trying to do this through adding an onload event to the body of the iFrame so that[详细]
2023-02-02 16:20 分类:问答Adding multiple onload handlers
I have two js files, each one with its own window.onload handler. Depending on how I attach the two onload handlers to the window object I get a different behaviour on the second handler.[详细]
2023-02-02 05:00 分类:问答Jquery UI interface looks ugly before document.ready
HTML elements show earlier then onload or document.ready is fired. All jQuery UI widgets load on document.ready and it makes page look ugly for few first 开发者_开发技巧seconds.[详细]
2023-02-01 20:18 分类:问答How to call function declared in $(document).ready()?
I have the following code: $(document).ready(function() { var refresh = function() { alert(\'doing!\'); }[详细]
2023-02-01 17:51 分类:问答Why am I getting this "null or not an object" error in IE?
I have a button (<asp:button id=\"MyButton\" runat=\"server\" />). I want this button to be automatically开发者_开发百科 clicked onload. So I added JavaScript for that to happen:[详细]
2023-01-31 04:13 分类:问答Sometimes loading JavaScript
I\'d like to conditionally load a set of javascript functions (which involve jQuery) on a given page.[详细]
2023-01-30 14:14 分类:问答