Currently I'am creating a form dynamically. I have button named "Add Column" whenever user clicks this button I need to create a drop down. Currently it adds the drop down as the last item. I am looking for when a user clicks "Add Column" in row 2, drop down should be appended at position 3 as well as if a row already exists at position no. 3 it should move on to row 4 and so on.
I have attached the screen shot.