I just recently learned about self calling anonymous functions. Some snippets of code that I came across used the self calling function along with the $(document).ready. It se
You wouldn't want to use both together, is there something you're doing that requires you to?
In the jquery api documentation here, http://api.jquery.com/ready/, you can see these examples:
The .ready() method is typically used with an anonymous function:
$(document).ready(function() {
// Handler for .ready() called.});
Which is equivalent to calling:
$(function() {
// Handler for .ready() called.});
But I'm not sure if this answers your question because I don't see where you actually ask one. Hope this helps just the same!