Megan Goins
Posts: 0
Joined: Mon Jan 26, 2015 10:06 pm

Html Source code in Javascript

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

Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

Html Source code in Javascript

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

Return to “Issues”