Ok so I know my question isn't worded very well so I'm going to do my best to describe my situation. I have a js file that needs to be in a separate folder than the rest of the program. I also need other users on the server to be able to update an array in that file and have the main html read that file. When I tried to update the file with notepad the changes didn't save. How can I accomplish this? Update
This is the original js file. I opened it in npp to try to edit the searchStrings array.
Then I changed 'qwe' to 'ghost' and saved the file.
I copied the html full path and tested it in chrome. The code is supposed to trigger an alert if any of the searchStrings are entered in the box. When I typed the new word 'ghost' nothing happened. But it ran with the old 'qwe'.
I need anyone from my team to be able to edit the array from their computers. Note: all files are saved on a shared drive.