I'm using select2 plugin.
I'm able to get the selected tags array in jquery,but how can I append array into the DOM and get values in php on form submission or any other methods?
There are multiple file uploads in my form so I don't want ajax.
Here is a tag on which I'm applying select2
.
<input type="hidden" id="tags" value="tag" style="width: 400px;">
Here is a fiddle I'm using: http://jsfiddle.net/X6V2s/66/
I have an array of values in jquery but want it in php.
can i append array into DOM(if yes then?how)
How could I accompolish this ? Please help me. Thanks in advance.