I have a JQueary function responsible to call the image carousel (binding to events and triggering),when I load the page the images are not displayed. If I refresh the page then its working as expected.
Solution: Add the below to load along with page:
try {
$(document.body).on('click', '#user', function (e) {
e.preventDefault();
router.navigate('/user');
});
}
catch (ex) {
// alert(ex.message);
}
No comments:
Post a Comment