Im using knockout and i want to insert / show a div between 2 divs. Basically im creating an employee details page. The employees will be listed and when a user clicks on the employee i want his / her details to show under the employee
<div>user 1</div>
<div>user 2</div>
<div>user 3</div>
clicked
<div>user 1</div>
<div>User Details etc</div>
<div>user 2</div>
<div>user 3</div>
Im storing the selected user in an editable property which is populated when an employee is clicked and using a with binding i can get the user to come up after all the users, but i would really like to get the details to come up under the relevant employee. Any ideas?