[jQuery] Re: insertAfter('.address')

2010-01-27 Thread Bas
On 26 jan, 16:28, Nathan Klatt n8kl...@gmail.com wrote: 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

[jQuery] Re: insertAfter('.address')

2010-01-27 Thread sakp
Hi Bas, Let me advice you, I don't know why you use next().hide(); after h5.head clicked, because when you click h5.head then next node will be hide. and $(this).next().insertAfter('.address'), it mean insert next node of $(this) into node after '.address' (i'm not sure about this). below is my