New feature: You can now inject portions of a document via .load(), as opposed to...
authorJohn Resig <jeresig@gmail.com>
Sat, 25 Aug 2007 03:33:08 +0000 (03:33 +0000)
committerJohn Resig <jeresig@gmail.com>
Sat, 25 Aug 2007 03:33:08 +0000 (03:33 +0000)
commit34f1042902f8dbf133fdc3c62d17e12ec0cb7a26
tree7fc6b3e7bcb0798470d5429408d80aa0ba3b826b
parent97f2032e13b85db72910e9cc1e75f2eb75e43dc4
New feature: You can now inject portions of a document via .load(), as opposed to the full thing.

Examples:
- $("#test").load("test.html #something");
- $("#test").load("test.html p.user");

Caveats:
- No scripts are injected when a selector is used.
- The selector is rooted inside the head and body - it's equivalent to doing:
  $("body,head").find(selector)
src/ajax/ajax.js