I'm having a bit of a jQuery problem. Basically I have some functions that I need to place inside the ready function so that they have scope access to some of the objects initialized on document ready. However, for whatever reason, no methods created seem to respond to any of the DOM objects' onClick
. I am forced to pull them outside the $()
. I'm sure there is some elementary point I'm missing here, but I can't seem to see it. Any ideas?
FYI (to anyone interested) for this particular problem, I am working with datatables (http://www.datatables.net/) and need to provide a few functions access to the initialized table(s).
Best.