Forms and inputs

Multiple

Email Type

In jquery get the multiples values with commas, in the server you get an array with the same name. The name and type attribute are mandatory. You can apply styles to the input and it will work all right

<input type="text" data-type="multiple" name="hola">

Send form in Ajax

Demo can be seen in this form, the form is send via ajax and not in php direct. The id is needed. With id+"-msg" the data is print. If the php file returns a url it will redirect to there.

<span id="form-msg"></span> <form action="send.php" method="POST" data-type="ajax" id="form"> // Content </form>