Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Change Image Asset Value with JScript

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.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Change Image Asset Value with JScript

Hi Deon -

Please try this way:

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

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Change Image Asset Value with JScript

Thank you!

Return to “Issues”