Page 1 of 1

Change Image Asset Value with JScript

Posted: Fri Sep 02, 2016 1:44 am
by Deon

Hi

I would like to change the url of an Image UI on my page with JScript. What is the correct syntax please.

I have tried...

Apperyio("mobileimage_108").val("../img/Snip20160622_9.png");
Apperyio("mobileimage_108").assetl("../img/Snip20160622_9.png");

Neither work.
Thank you.


Change Image Asset Value with JScript

Posted: Fri Sep 02, 2016 2:26 pm
by Illya Stepanov

Hi Deon -

Please try this way:

pre
Apperyio("Image").attr("src", "../img/Snip20160622_9.png");
/pre


Change Image Asset Value with JScript

Posted: Sat Sep 03, 2016 2:06 pm
by Deon

Thank you!