Jquery

How to clone / add or remove form fields using jquery?

How to submit jquery clone / add or remove field values to form with PHP. It’s very basic level code, I had implemented this using relCopy.js jquery plugin to duplicating the existing field. I hope it’s useful for you. Thanks!

Javascript Code
Here input text name hobby[] is array.

 HTML Code



clonesubmit.php
Contains simple PHP Code that extracting array hobby[] values.