Page 1 of 1

Change html URL

Posted: Thu Aug 06, 2015 9:24 pm
by Fx Trader

please I want to change this html url reading from local storage advice me please

Image


Change html URL

Posted: Fri Aug 07, 2015 8:28 am
by Fx Trader

heyyyyyyyyyy


Change html URL

Posted: Fri Aug 07, 2015 8:44 am
by Alena Prykhodko

Hello.

Please learn here how to work with Storage variables https://devcenter.appery.io/documenta...

If you use old builder you can get localstorage variable value this way:

prelocalStorage.getItem('name'));/pre

where name- localstorage variable name.


Change html URL

Posted: Fri Aug 07, 2015 3:04 pm
by Fx Trader

ok how can i change url in the attached photo on run time


Change html URL

Posted: Sat Aug 08, 2015 8:37 am
by Fx Trader

answer me please


Change html URL

Posted: Sat Aug 08, 2015 6:43 pm
by Serhii Kulibaba

Hello,

You can use JS below:

preApperyio("htmlComponent").find("iframe").attr("src", "http://example.com");/pre
here:
"htmlComponent" - name of the html component
"http://example.com" - new photo's URL