By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,714 Members | 1,205 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,714 IT Pros & Developers. It's quick & easy.

Disable image load with Javascript or jQuery

P: 14
Is there a way in javascript or jquery to disable image before page is fully loaded? I'm trying to make my own lazy loader (because the original isn't usable) and I'm stuck with this.

The point is to save src attribute to longdesc and put some placeholder, and this has to be done before all image loads. If the placeholder is set originally in html then users with disabled javascript won't see the images.
Apr 22 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.