I have a "bad word filter" that I want to incorporate into a search engine, See example HERE 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
Did you think about saving the words into an external javascript file example bad_words.js? I think this may work. Good Luck