WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 [XTree - Featurereq.], Sander Koppenhol, July 28, 2003
     Re:[XTree - Featurereq.], Emil A Eklund, August 2, 2003

Subject: Re:[XTree - Featurereq.] From: Emil A Eklund Date: August 2, 2003
sure, add a property called escapeText and replace the line above with this one.

var label = (this.escapeText)?this.text.replace(/</g, '&lt;').replace(/>/g, '&gt;'):this.text;

/Emil


Is is possible to enable or disable this function using a variable?
var label = this.text.replace(/</g, '&lt;').replace(/>/g, '&gt;');
To make de labeltext bold etc.



Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX