| 12256 |
kshitij.so |
1 |
<script type="text/javascript">
|
|
|
2 |
$(function() {
|
|
|
3 |
$('#add-item').live('click', function(){
|
|
|
4 |
$('<br/><br/><label> ItemId : </label> <input name = "itemId" type = "textbox"/>'
|
|
|
5 |
+'<label>Snapdeal : </label> <input name = "snapdeal" value="0" type = "checkbox"/><span>|</span><label>Flipkart : </label><input name = "flipkart" value="0" type = "checkbox"/><span>|</span><label>Amazon : </label><input name = "amazon" value="0" type = "checkbox"/>').appendTo('#item-info');
|
|
|
6 |
});
|
|
|
7 |
});
|
|
|
8 |
</script>
|
|
|
9 |
|
|
|
10 |
<form id="itemForm">
|
|
|
11 |
<div id="item-info">
|
|
|
12 |
<label> ItemId : </label>
|
|
|
13 |
<input name = "itemId" type = "textbox"/>
|
|
|
14 |
<label>Snapdeal : </label>
|
|
|
15 |
<input name = "snapdeal" value="0" type = "checkbox"/>
|
|
|
16 |
<span>|</span>
|
|
|
17 |
<label>Flipkart : </label>
|
|
|
18 |
<input name = "flipkart" value="0" type = "checkbox"/>
|
|
|
19 |
<span>|</span>
|
|
|
20 |
<label>Amazon : </label>
|
|
|
21 |
<input name = "amazon" value="0" type = "checkbox"/>
|
|
|
22 |
</div>
|
|
|
23 |
<img id = "add-item" src = "/Support/images/add-new.png" style="padding:10px;"/>
|
|
|
24 |
<br/>
|
|
|
25 |
<input type="submit" value="Submit Items" style="margin-left:10px;">
|
|
|
26 |
</form>
|
|
|
27 |
|