Html Source code in Javascript
How can I change the Html Source code in Javascript for my Html component?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
How can I change the Html Source code in Javascript for my Html component?
Megan,
I believe (I haven't done it ... but I have done something similar)....
to Access the html source (retrieve it) in a component the code is:
Appery('thenameofyourhtmlcomponent').html() ; (this gets the html source)....much like a label object....
the code to put a value to it would likely be:
Appery('thenameofyourhtmlcomponent'').html( amemoryorstoragevariablewiththenewhtml) ;
hope this works.... best,
Bruce