Changeset 16422 for schedule/function/function.php
- Timestamp:
- 05/29/13 06:30:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.