schmidte
Oct 31st 2008, 1:43 pm
I have a "bad word filter" that I want to incorporate into a search engine,
See example HERE (http://www.lures.info/ajax/filter.html)
However I'd like to keep the list of bad words out of the code and call them from an external file. Is it possible to do with the javascript I'm using now?
When looking at the page source, the line I need to hide is:
var swear_words_arr=new Array("cardinals","losers","choke","next year");
Ed
See example HERE (http://www.lures.info/ajax/filter.html)
However I'd like to keep the list of bad words out of the code and call them from an external file. Is it possible to do with the javascript I'm using now?
When looking at the page source, the line I need to hide is:
var swear_words_arr=new Array("cardinals","losers","choke","next year");
Ed