Jquery Not Working

My program uses jquery and from what I know about it, when using in javascript, the program should listen to when I click on a div tag and run code from the javascript. When ran in a web browser, the code works just fine. But when I run the code in electron, it says that the tag does not exist. I have Jquery in a internal json file and it is being called in the html file in the head tag.

Non-electron user answering -

Web searching the term
how to jquery in electron

reveals results such as

Thank you! That was just what I needed!