Page 1 of 1

How do I set the URL for the Image UI component using Javascript? The URLs will be based on the results of a REST call.

Posted: Mon May 04, 2015 5:18 pm
by Todd Penny

How do you set the image UI component to an image referenced by URL using JavaScript? I am trying this and it's not working. I tried single/double quotes on the URL.

Appery('gocodesImage').attr('src', 'http://www.gocodes.com/wp-content/upl...');

gocodesImage - UI image component name
http://www.gocodes.com/wp-content/upl... - URL


How do I set the URL for the Image UI component using Javascript? The URLs will be based on the results of a REST call.

Posted: Tue May 05, 2015 4:48 pm
by Serhii Kulibaba

Hello Todd,

Could you check are there any errors in console? This: http://devcenter.appery.io/documentat... should help.