Changeset 17479 for schedule/js
- Timestamp:
- 01/04/14 10:20:48 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/js/function.js
r17422 r17479 5 5 { 6 6 $('document').ready(function(){ 7 /*var currentdate = new Date();8 var datetime = currentdate.getFullYear()+ "-"+(currentdate.getMonth()+1)9 + "-" + (currentdate.getDay()+1); /* + " @ "10 + currentdate.getHours() + ":"11 + currentdate.getMinutes() + ":" + currentdate.getSeconds(); */12 7 var Gdate = y+'-'+m+'-'+d; 13 //alert(Gdate); 8 14 9 $('#save').click(function(){ 15 10 if($('#save').val()=='SAVE') 16 11 { 12 Gdate = y+'-'+m+'-'+d; 17 13 $('.datalisting').each(function(){ 18 14 var get_seq = 0; … … 31 27 else 32 28 { 29 Gdate = y+'-'+m+'-'+d; 33 30 GetDelete(Gdate); 34 31 $('.datalisting').each(function(){ … … 41 38 get_source = $(this).find(".source").val(); 42 39 get_selected = $(this).find(".selected").val(); 43 GetUpdateData(get_time, get_selected, get_source, get_measure, Gdate, get_seq);40 GetUpdateData(get_time, get_selected, get_source, get_measure, Gdate, get_seq); 44 41 get_seq++; 45 42 }); 46 }); 43 }); 47 44 } 48 45 }); 49 50 51 46 52 47 function GetSaveData(Time,Data,Source,Measure,date,seq){
Note:
See TracChangeset
for help on using the changeset viewer.