Hi,
I want to get image dynamically which is in asset how would i get it, i have written code
$("#StartMeeting_mobileheaderStartMeeting").css('background-image', url("../image/logo.png"));
but it is not coming.
Thanks,
Ishani
Hi,
I want to get image dynamically which is in asset how would i get it, i have written code
$("#StartMeeting_mobileheaderStartMeeting").css('background-image', url("../image/logo.png"));
but it is not coming.
Thanks,
Ishani
Hello!
1) Please check if you've specified correct selector "#StartMeeting_mobileheaderStartMeeting". In fact it's better to use Appery("componentName") for this purpose.
2) Check image path.
Hi,the selector is correct and the image is in files/view/image/logo.png in web resources
Hi,
You are using a wrong link to an image. You should use a link like this:
url(files/views/assets/image/logo.png)