sorry for the delay, here $(this).next( $("#SetLoc").slideToggle() ); statement is inside the click event for hyperlink.
whenever we click on the respective hyperlink, it will trigger SetLoc div to be shown just after the hyperlink that in this case will appear below the DIV.
also each textfield will have a hyperlink next to it, so i am controlling this through classes. and the previous textfield will always mean the textfield above as the sequence will be
<td>
TEXTFIELD HYPERLINK
DIV
</td>
as you can see, this is in a table row.