On Tue, Jan 26, 2010 at 8:38 AM, Bas <basvdlustgr...@gmail.com> wrote:
> $(this).next().insertAfter('.address').load('http://mydomain.dev/
> search/view/Id/' + $(this).attr('id') + '.html');

You're trying to insert $(this).next() after $(".address"). What you
want to do - I'm guessing - is create a new div loaded with the result
of the load call, yes? You need to load the new content into a fresh
div, then insert that after $(".address").

newDiv = createElement("div");
newDiv.load("http://mydomain.dev/search/view/Id/"; + $(this).attr("id")
+ ".html");
newDiv.insertAfter(".address");

Something like that, I think. :)

Nathan

Reply via email to