id 테그 추가
This commit is contained in:
parent
eabb7968b3
commit
5eb26e1cc0
|
|
@ -24,7 +24,7 @@
|
|||
}
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: '/profile/user/10',
|
||||
url: '/profile/user/' + $('#id').val(),
|
||||
data: formData,
|
||||
contentType: false,
|
||||
processData: false,
|
||||
|
|
@ -52,7 +52,7 @@
|
|||
}
|
||||
$.ajax({
|
||||
type: "PUT",
|
||||
url: '/profile/user/1',
|
||||
url: '/profile/user/' + $('#eid').val(),
|
||||
data: formData,
|
||||
contentType: false,
|
||||
processData: false,
|
||||
|
|
@ -72,25 +72,7 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<!-- <a href="/profile/addItem?id=aaaaa">aaaaaaa</a> -->
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<!-- <form id="theForm" action="/profile/user/10" method="post" enctype="multipart/form-data"> -->
|
||||
<!-- <form id="theForm" method="post" enctype="multipart/form-data">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Name <input type="text" id="name" name="name" value="50"/><br></td>
|
||||
<td>Phone <input type="text" id="phone" name="phone" value="50"/><br></td>
|
||||
<td>Address <input type="text" id="address" name="address" value="50"/><br></td>
|
||||
<td>File<input type="file" id="upfile" name="upfile" ></td>
|
||||
<td><input id="add" type="submit" value="Send"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form> -->
|
||||
|
||||
제품Id <input type="text" id="id" name="id" value=""/><br>
|
||||
제품명 <input type="text" id="name" name="name" value=""/><br>
|
||||
가격 <input type="text" id="phone" name="phone" value=""/><br>
|
||||
별 <input type="text" id="address" name="address" value=""/><br>
|
||||
|
|
@ -98,6 +80,7 @@
|
|||
<button id="add" type="button">Submit</button>
|
||||
<br><br><br><br><br><br>
|
||||
|
||||
제품Id <input type="text" id="eid" name="eid" value=""/><br>
|
||||
제품명 <input type="text" id="ename" name="ename" value=""/><br>
|
||||
가격 <input type="text" id="ephone" name="ephone" value=""/><br>
|
||||
별 <input type="text" id="eaddress" name="eaddress" value=""/><br>
|
||||
|
|
|
|||
Loading…
Reference in New Issue