Try the CSS selector :nth-child():
$("#holder > div:nth-child(2)").after("<div>foobar</div>");
See also the example on the jQuery page of the :nth-child() selector.
Try the CSS selector :nth-child():
$("#holder > div:nth-child(2)").after("<div>foobar</div>");
See also the example on the jQuery page of the :nth-child() selector.