Quantcast
Channel: Can I use .ready() for other than document elements of DOM? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by duckduckgo for Can I use .ready() for other than document elements...

load() dont work in all elements, it is solely for img, iframe, document etc. ready() do work but inside function are failing

View Article



Answer by Barrie Reader for Can I use .ready() for other than document...

Yes, although I would recommend using .load()$('#element').load(function() { //do stuff!});

View Article

Can I use .ready() for other than document elements of DOM?

Is ready() for document only or i can use that function for other elements. Example below:jQuery('.myclass').ready(function(){ alert('ready'); })

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images