After following the instructions for handling javascript in Drupal 7, I placed a "myjs.js" file in the js folder located at sites/all/themes/mytheme/js and added a line to the mytheme.info file (scripts[] = js/myjs.js). Upon inspecting the page source of my website, I could confirm that the file was successfully loaded.
Encountering various issues, I attempted to undo these changes. I removed the scripts[] line from the mytheme.info file and deleted the js file from the js folder. In theory, my Drupal 7 site should no longer be aware of my custom js file, correct?
Despite numerous cache clearings, hard browser reloads, and restarting my xampp server, whenever I checked the page source of my site, I continued to see the reference to the supposedly removed file being loaded.
Could this be related to a database entry? Where else might Drupal store this information and persist the reference?
Additionally, when I tried adding a new js file to the .info file (e.g., "js/newjs.js") and cleared the cache, the new file did not appear. Only the old, original file was present.
I am using a bootstrap subtheme and have thoroughly checked both bootstrap.info and mytheme.info, finding NO mention of the myjs.js file whatsoever.
This situation is incredibly frustrating. Any suggestions on where I should investigate next (potentially looking into database records)?
Thank you.