View Single Post
  #2 (permalink)  
Old 08-08-2007, 04:08 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...

Being client side, JavaScript should really never be used to do processing on data - different browsers have different JS implementations, and users could have JS turned off or be using a security product that changes the way JS works. What is going into the text file that you want to strip out? Bear in mind that a user can view anything the JS can see.
__________________
The best way to learn anything, is to question everything.
Reply With Quote