Extend $.get() to add selector support. Usage is identical, except you can add a selector to get a page fragment, like you can with $.load.
Tested with jQuery 1.3.2+
The plugin simply adds selector support to enable
It means that you can 'do stuff' with the content before appending it to the DOM:
e.g. $('.target').html(data.replace(/cool/ig, 'AMAZING'));
Usage is identical to the jQuery get() function
0.10 (09/03/2011):
- Plugin added to Github.
- Author: Ben Barnett - http://www.benbarnett.net - @benpbarnett