Page 1 of 1

How do I insert html into the HTML Component at run-time?

Posted: Fri Aug 29, 2014 10:40 pm
by Kal

I have an HTML component working fine with static html that I insert at design time. However, I would like to modify one parameter in the html, depending on the situation. How do I do that? Is there something like

Appery('myhtml').html.val("xxxxxxxxx")

or some such thing?

Thanks,
-Kal.


How do I insert html into the HTML Component at run-time?

Posted: Sat Aug 30, 2014 6:12 am
by Alena Prykhodko

Hi Kal,

Use this code:

precodeAppery('myhtml')&#46;html('<h4>Hello</h4>');/code/pre
Also check this http://webdesignfan.com/htmlspecialch...


How do I insert html into the HTML Component at run-time?

Posted: Sun Aug 31, 2014 3:56 pm
by Kal

Thanks, that worked!


How do I insert html into the HTML Component at run-time?

Posted: Thu Oct 23, 2014 7:59 am
by David wyatt

Hi Kal,
is it possible to use this code with multiple lines of html?
thank you


How do I insert html into the HTML Component at run-time?

Posted: Thu Oct 23, 2014 2:43 pm
by Kal

Yes, it's just a string. As long as everything is within the quoted string you can have as many line breaks
as you want.