WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Optimizing, mikael bergkvist, July 8, 2003
     Re:Optimizing, Erik Arvidsson, July 8, 2003

Subject: Optimizing From: mikael bergkvist Date: July 8, 2003

Is there a way to have the same job done faster?

for(var i=0;i < data.length/75;i++)
{
data=data.replace('&lt;','<font color=red><<!>');
data=data.replace('&gt;','<!>></font>');
data=data.replace('="','<font color=green>=</font>"');
data=data.replace('"','<font color=blue>&quot;');
data=data.replace('"','&quot;</font>');
}




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