[jQuery] embedded elements and document.ready
Hello I have a question: Is there a way to know if a custom plugin is ready to work with? I have a inhouse build of a video player , don't have the load event or any other type of event. i use in html: and in a .js file i added $(document).ready( functions); this functions contain some logic but sometime when i load the file the video is embed element is not display or can not work with it since was not fully loaded. How can i execute a function after the embed element was loaded or the document is fully workable?
[jQuery] Re: unbind all events from jquery 1.3.2
isn't this ie specific? On Mar 16, 8:50 pm, MorningZ wrote: > *maybe* > > $("*").unbind(); > > all your code is looking at the document itself and then the > tag itself > > On Mar 16, 2:44 pm, redcom wrote: > > > Hello > > I have a custom application build on top of gecko 1.9 and using > > spidermonkey and some c++ calls js->c++->js > > > When i reload one application page i get some events triggered after > > the page has been loaded. > > The GC is destroying my objects and html elements some how, but the > > events remain attached. > > > Is there a possibility to unbind all events at once? > > > I tried: $(window).unload(function () { > > $(document).unbind(); or $("body").unbind(); or $(document, > > window).unbind(); > > > }); > > > but the events are still somewhere in a cache system. > > > Can or is there a flag that i can set and prevent jquery to use cache? > > > The jquery is 1.3.2
[jQuery] unbind all events from jquery 1.3.2
Hello I have a custom application build on top of gecko 1.9 and using spidermonkey and some c++ calls js->c++->js When i reload one application page i get some events triggered after the page has been loaded. The GC is destroying my objects and html elements some how, but the events remain attached. Is there a possibility to unbind all events at once? I tried: $(window).unload(function () { $(document).unbind(); or $("body").unbind(); or $(document, window).unbind(); }); but the events are still somewhere in a cache system. Can or is there a flag that i can set and prevent jquery to use cache? The jquery is 1.3.2
[jQuery] help needed with new node replace
If anyone knows a jQuery way to replace a node and return the new node object that would be great (replaceWith returns the old object)