I have a text file with profanity word separated by comma (,). Now I have to create an array by reading this text file, each and every profanity word should be stored into t
you can't do IO operations from Javascript,
you can probably try ajax
http://api.jquery.com/jQuery.ajax/
or jquery load
http://api.jquery.com/load/