Reputation: 1
I am unable to change the position of two div elements with each other. I have multiple input files on a single page and I need to change their positions on click.
Upvotes: 0
Views: 348
Reputation: 23234
Have the items in a list and render a div
for each item using a foreach
. Make sure you use @key
on the div to identify it
Upvotes: 1