Load text into textblock from a link in the same textblock

Hi there,

I have a question of which I could not find the answer on this forum.

I created a textblock (myTextblock). I dynamically load a textfile (test1.txt) into it. This file contains a link to another textfile (test2.txt).

I thought I could link it using HTML (< A HREF=“test2.txt”>link< /A>) but when I click it, it creates a browser-window with the content of the file. I would like the text of test2.txt to overwrite the text in test1.txt in the same textblock.

Anyone knows if this is possible?

Thanks in advance and kind regards,

Chuppie

Whaha, I found it out myself. I used the following code to get the link working: < a href=‘asfunction:loadText.load,test2.txt’>Test 2< /a>

Sorry to bother you with this post :wink: