Load in new window from txtfile?

I want a textfile to load a site in a new window:

<a href="http://www.site.nl", **"_blank"** >www.site.nl

but this doesn’t work…
Searched, but couldn’t find the answer,
Anyone?

This is the code for my textfile:

var xmlText = new XML();
xmlText.tf = textBox;
xmlText.onData = function(data) {
    this.tf.html = true;
    this.tf.htmlText = data;
};
xmlText.load("dates_test.txt");

and here’s my text: http://home.wanadoo.nl/inflicted/dates_test.txt.zip

thanks for stickin’ around!

???
Why you’re using the XML object to load text?[SIZE=1](Or am I missing something)[/SIZE]

scotty(-:

Scotty,
this is a code I once picked up and use all the time(copydog?).
It doesn’t load xml, it just loads a txt file onData.
Maybe there’s another code to load a text file that
doesn’t fail with “_blank”. if you have one, I could try that out.

Everything o.k. with you?

Use LoadVars()

myText = new LoadVars();
myText.onLoad = function(success) {
	if (success) {
		mytxtfield.html = true;
		mytxtfield.htmlText = this.info;
	}
};
myText.load("dates_test.txt");

Be sure your text in the txtfile starts (in this case) with info=blablabla

scotty(-: