jQuery append div to a specific

Posted by ip on Stack Overflow See other posts from Stack Overflow or by ip
Published on 2010-05-05T20:14:35Z Indexed on 2010/05/05 20:18 UTC
Read the original article Hit count: 183

Filed under:
|
|
|

Hi

How do I append a element a specific index of the children elements using jQuery append e.g. if I have:

<div class=".container">
   <div class="item"><div>
   <div class="item"><div>
   <div class="item"><div>
   <div class="item"><div>
</div>

and I want to append another item between the second and third item?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript