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 code, it might help.
jQuery(document).ready(function() { jQuery('.accordion .head').click(function() { jQuery(this).next().find('.address').after(jQuery("<div class='container'></div>").load('http://yii.dev/search/view/ IdDaytrip/' + jQuery(this).attr('id') + '.html')); jQuery(this).next().toggle('slow'); return false; }); }); regards,