Hi I added HTML iframe from (Embeds) to a page #html1
how can i add HTML code to that element using the page code and not manually by clicking on the page element (Enter Code) button ?
the bigger goal is to have one iframe element on the page and the embedded code will be changed by clicking on a radio button so need also command to clear the code between switches?
The HtmlComponent cannot be changed using page code.
However, you could write your own embedded code in the HtmlCode that can modify itself by accepting new code to be embedded in the embedded code by sending a message from the page code. Not a trivial task, but if you are proficient in coding it can be done.