Click here to Skip to main content
15,666,947 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using imagesloaded,lazysizes.min.js,slick.min.js to load and display product info on page. but when i am binding data from webmethod,json these java script are not working

What I have tried:

I am using image loded jquery (https://imagesloaded.desandro.com/) with my html code everything working fine except image loded, After loding image html page change class from prd-w-xs to loded in case of imageloded works but in my page css class get stuck to prd-w-xs and image not get loaded.

check this for example "https://goodwinstore-default.myshopify.com/collections/all/canverse"
Posted
Updated 21-Jun-19 23:33pm
v2

1 solution

Quote:
but when i am binding data from webmethod,json these java script are not working
That can be answered only from your browser console. That page of yours works just fine for me, so it is either a network related issue on your machine (if you are pulling these scripts from a CDN), or it might be that your sequence of pulling the scripts is incorrect.
Quote:
After loding image html page change class from prd-w-xs to loded in case of imageloded
This is not happening in your case since your JavaScript gets blocked half-way due to some reasons that your browser console can answer only.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900