How do I check if the image has been set?
Hi, How do I check if there if a picture is set. For example, after i press take photo, the image is saved in the image component. How do I check if an image exists? I tried but didn't work:
if (Appery("photo").attribute('src') === "files/resources/image/no-image.jpg") {
alert ('image does not exist') ;
}
Thanks,