forked from ZarakObama/Shipping_company_website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cotmcolis.php
53 lines (46 loc) · 1.52 KB
/
cotmcolis.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php include "headercota.php" ?>
<link href="show.css" rel="stylesheet" />
<script type= "text/javascript" src = "js/countries.js"></script>
<script type= "text/javascript" src = "js/validator.js"></script>
<script>
console.log(Validator);
</script>
<div class='row'>
<fieldset>
<legend class="scheduler-border"><h3>Informations concernants vos Collis.</h3></legend>
<table >
<thead>
<tr>
<th>Num Unités</th>
<th>weight</th>
<th>Type</th>
<th>temperature </th>
</tr>
</thead>
<tbody><form>
<tr class="transport1">
<td><input class="form-control" id="number1" name="number1" type="number" min="1" step="1 "/></td>
<td> <input class="form-control" id="poids1" name="poids1" type="text" /></td>
<td> <input class="form-control" id="type1" name="type1" type="text" /></td>
<td> <input class="form-control" id="temperature1" name="temperature1" type="number" min="-40" step="0.5 "/></td>
</tr>
</form></tbody>
</table>
<div class="row">
<div class="sixteen columns" id="addtransport">
<label><i class="fa fa-plus-square"></i>Pour Ajouter Un Collis Clickez Ici. </label>
</div></div>
</fieldset>
</div>
<script>jQuery.noConflict();
$(document).ready(function () {
$("#addtransport").on("click", function () {
var clone = $("[class^=transport]:last")
.clone(false, false)[0].outerHTML.replace(/(\d)/g, function(a) {
return parseInt(a) + 1
});
$(clone).appendTo('table');
console.log($(clone).attr("class"));
});
});</script></body>
</html>