Why my added feature which uses Jquery doesn't run?


#1

My added feature which uses jquery, doesn’t run.

Here is the file structure:
$ project folder
      |_app
         |–index.html
         |–main.js
         |–script
           |–autocomplete.js
         |–styles
         |–bower.json
         |–package.json
         |–node_modules*
         |–bower_components*

HTML/CSS seems to be working fine, only that my script named autocomplete.js isn’t working on the electron’s desktop window when being run. It’s an autocomplete search feature on an input box. 100% there is no error within the code, as it works well on the browser. Such that, only the autocomplete feature just doesn’t work on electron.

Here is my index.html [Please don’t mind the layout, not done yet]
so as the      main.js   [Problem seems to be in here]

How can I add jquery to main.js?
or is it a different problem why it isn’t working?

I have jquery, bootstrap via bower.