Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Jquery json using the module pattern? Reply To: Jquery json using the module pattern?

#177669
matthisco
Participant

Thanks very much for the reply.

I’ve added a working codepen:

http://codepen.io/matthisco/pen/wpyHd

How would i use the module pattern above using the jquery document ready in my example? and would I need to pass all my vars into the module too?

Many thanks