View Single Post
  #4 (permalink)  
Old 08-08-2007, 06:11 PM
wige's Avatar
wige wige is offline
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,629
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Re: Javascript and those naughty characters...

I take it from the description the javascript is opening the text file containing the data, then processing line by line, filtering each result?

If you know enough PERL or PHP and are allowed to run scripts, I would suggest creating a server side script that opens the file and does the filtering for you, and passes the processed data to to the javascript. That way you can use the more comprehensive filtering abilities of PERL and leave the browser with less of a workload, and eliminate many client-side issues. In that case you would simply point the javascript to the new server side script.
__________________
The best way to learn anything, is to question everything.
Reply With Quote