On Tue, Jan 26, 2010 at 9:27 AM, Nathan Klatt <n8kl...@gmail.com> wrote: > newDiv = createElement("div"); > newDiv.load("http://mydomain.dev/search/view/Id/" + $(this).attr("id") > + ".html"); > newDiv.insertAfter(".address");
Whoops, be sure to turn newDiv into a jQuery object after creating it.