Asfunction + txt files

hi all - i’m loading an external .txt file into a text field and displaying it as html, works fine… but i when i include a link to display a second .txt file in place of the first one, it only works if i click on the link twice.

i’m using ‘asfunction’ in the html link in the txt file. someone suggested replacing ‘loadVariablesNum’ in the root script with ‘loadVars.sendAndLoad’, but something isn’t right… any help appreciated!

newbie

Use LoadVars.
Check the attached example below.

thanx claudio

welcome :slight_smile:

Hi - I’m trying to figure out how to do the same thing. Can you post the attachment again or the code?
thanks