Do not confuse the core jQuery $.get method with the .get method when working with a dom collection, they have nothing to do with each other at all. The core method is a shorthand for preforming an ajax get request, while the .get method has to do with getting a single element from a collection of dom elements.
If I am using jquery in a project I will quickly go ahead and use this in place of my vanilla js method alternatives. It works in a very simple fashion where I just give a path, and a response method when the response is received.
no problem check it:
As long as it is something where I will not run into problems with CORS (Cross-origin resource sharing), doing that is simple enough.
That is something completely different in which it is a method that is used to get an element in a collection.
So yes $.get is a nice little shorthand for making get requests, but do not confuse it with the other get method in jQuery.
I might be making a whole lot more posts on the hapi framework, and as such I might get into how to go about throwing together a custom client system that might have jQuery in the mix. It seems like jQuery is one of those projects that is a little dated, but just wont die.