Changeset 16422 for schedule/function
- Timestamp:
- 05/29/13 06:30:18 (11 years ago)
- Location:
- schedule/function
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/function/SplitDelete.php
r16419 r16422 4 4 var meas; 5 5 var meas2; 6 varcnt=2;6 window.cnt=2; 7 7 var table = document.createElement("table"); 8 8 table.setAttribute('id',"table2"); -
schedule/function/function.php
r16112 r16422 63 63 var measure; 64 64 var value; 65 for(var i=1;i<<?php echo $Total; ?>;i++) 65 var checks = 0; 66 for(var i=1;i <= cnt;i++) 66 67 { 67 if($('#Time'+i).val() ||$('#Time'+i).val()>0)68 if($('#Time'+i).val() != '') 68 69 { 69 70 Time=$('#Time'+i).val(); … … 75 76 selectedTime.push(Time); 76 77 InputValue.push(value); 78 79 }else{ 80 checks++; 81 77 82 } 78 83 } 84 85 if(checks == 0){ 79 86 window.location = 'Transaction/insert.php?Time='+selectedTime+'&Source='+selectedSource+'&measure='+selectedMeasurement+'&Data='+InputValue+'&Date='+fullday+'&Date2='+fullday2; 87 }else{ 88 89 alert("Please fill all the details!"); 90 } 80 91 }); 81 92
Note:
See TracChangeset
for help on using the changeset viewer.