Jake,
My html goes inside another html (can't help it).
The site is using two versions of jquery.
jQuery v2.1.4 & jQuery v1.7.1
could it be a case of no-conflict?
I am able to lazyload images on static htmls. I am aware that the plugin does not require ajax. Instead I am trying to defer the loading of images by lazy-loading them.
We receive input data in csv format from various sources and this is transposed into json format.
The appendJsonData fetches this data and appends the same - a href, title, price, image src etc into our template html.
This is working perfectly fine.
Example:
Initially inside my html template,
<img class="lazy" data-original="">
When ajax call = success, empty image tag gets populated with data from the server
If lazyload was running, it would have been,
But as i previously pointed out, console is throwing this error, despite embedding/linking the script.
"$(...).lazyload is not a function"