I am loading per AJAX a html page and in this html i have a image which is stored in the project
i tried following
but this don't work
i can't call the Appery.getImagePath . .... because the html text is loaded from ajax?
what can i do?
I am loading per AJAX a html page and in this html i have a image which is stored in the project
i tried following
but this don't work
i can't call the Appery.getImagePath . .... because the html text is loaded from ajax?
what can i do?
Hi Andreas!
Do you have any errors?
Check please is the Path value returned to localStorage variable:
code
var value = localStorage.getItem('value');
alert(value);
/code
change variable name;
ne i mean i have uploaded an image into the project
and i would like to enter an < img to show this image
but i has to enter this fix, i can't use javascript function for getting the path !
Sorry, no updates yet. Working on it.
ah ok for the meantime do you know i quick way for doing a replacemant
i mean i get following from the server
"This is the imagepath {imagepath} and this is the current id {id]"
and the varnames in the {} should be replaced with the current values in javascript
than i could get it working ... ![]()
I'll search for the way.
http://docs.appery.io/javascript-api/... this should help you.