My form looks like,
<link href="css/dropzone.css" type="text/css" rel="stylesheet" />
<script src="dropzone.js"></script>
<body>
<form action="" method="post" name="product" enctype="multipart/form-data" onsubmit="return formValidation()">
<div class="content" >
<input type="text" name="name" id="name">
<textarea name="description" rows="5" id="description"></textarea>
<input type="submit" name="save" value=Save" />
</div>
</form>
</body>
Here I want to upload image, so I am using dropzone for upload image.
<form action="upload.php" class="dropzone"></form>
So How to handle the dropzone image upload within the form submitting.
Thanks
Aucun commentaire:
Enregistrer un commentaire