How to pass namespace variable into click function param variable? jQuery
问题 So I found an awesome solution to get around needing to use Global variables in jQuery here. Everywhere I say namespace, originally I was going to use a Global var. However I'm not able to send my namespace variable through a param on a simple click function. I want to do this because I have these variables that need to be saved and used to create modal windows as well as to let the app know what dynamically created buttons control what modal. So below is an example of my namespace object