Using JavaScript in IHTML-Control

I try to use JavaScript in the IHTML-Control. Here’s some example code:

compress
‘abc’
‘’
‘geh’
to ihtml_valueprop leaving no
/* H’22’ = "

When I run the application it only shows “abcgeh” and not “abcdefgeh”. When I use the same code in a HTML-page it works fine.
Why doesn’t it work in NJX or what’s wrong with my implementation?

Thanks!
Gerhard

The difference is that you have a static HTML page versus HTML being dynamically
injected into an existing page, the script code is added to the page but will not
be triggered.