Page 1 of 1

Html Source code in Javascript

Posted: Thu Feb 12, 2015 4:31 pm
by Megan Goins

How can I change the Html Source code in Javascript for my Html component?


Html Source code in Javascript

Posted: Thu Feb 12, 2015 6:09 pm
by Bruce Stuart

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