Lets say I have a form field. Also I can dynamically add more fields, can I swap them by clicking on a link or button (up and down) using JS or jQuery?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The following functions that can help in adding elements: .append() to add after an element, .prepend() to add before an element.
For swapping elements there’s already a post here.