add.do 수정
This commit is contained in:
parent
29fff07c92
commit
7078a17073
|
|
@ -15,9 +15,8 @@
|
||||||
|
|
||||||
var formData = new FormData();
|
var formData = new FormData();
|
||||||
formData.append("name", $('#name').val());
|
formData.append("name", $('#name').val());
|
||||||
//formData.append("name", "test1");
|
formData.append("phone", $('#phone').val());
|
||||||
formData.append("phone", "test1");
|
formData.append("address", $('#address').val());
|
||||||
formData.append("address", "test1");
|
|
||||||
formData.append("upfile", $("input[name='upfile']")[0].files[0]);
|
formData.append("upfile", $("input[name='upfile']")[0].files[0]);
|
||||||
/* formData.append("upfile", $('#upfile').files[0]); */
|
/* formData.append("upfile", $('#upfile').files[0]); */
|
||||||
|
|
||||||
|
|
@ -68,8 +67,10 @@
|
||||||
</table>
|
</table>
|
||||||
</form> -->
|
</form> -->
|
||||||
|
|
||||||
Name <input type="text" id="name" name="name" value="50"/><br>
|
제품명 <input type="text" id="name" name="name" value=""/><br>
|
||||||
File<input type="file" id="upfile" name="upfile" >
|
가격 <input type="text" id="phone" name="phone" value=""/><br>
|
||||||
|
별 <input type="text" id="address" name="address" value=""/><br>
|
||||||
|
이미지 <input type="file" id="upfile" name="upfile" >
|
||||||
<button id="add" type="button" class="btn btn-primary">Submit</button>
|
<button id="add" type="button" class="btn btn-primary">Submit</button>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue