Changeset 17481 for schedule/js
- Timestamp:
- 01/04/14 15:43:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/js/function.js
r17480 r17481 2 2 // June 16, 2013 3 3 4 var currentDate; 5 4 6 function GetDate(d,m,y) 5 7 { 8 currentDate = y+'-'+m+'-'+d; 9 }; 10 6 11 $('document').ready(function(){ 7 12 var Gdate = y+'-'+m+'-'+d; 8 9 13 $('#save').click(function(){ 10 14 if($('#save').val()=='SAVE') 11 15 { 12 Gdate = y+'-'+m+'-'+d;16 Gdate = currentDate; 13 17 alert("Save: " + Gdate); 14 18 $('.datalisting').each(function(){ … … 17 21 countchild = $(this).find(".tr").length; 18 22 $(this).find(".tr").each(function(){ 19 20 23 get_measure = $(this).find(".measure").val(); 21 24 get_source = $(this).find(".source").val(); … … 28 31 else 29 32 { 30 Gdate = y+'-'+m+'-'+d;33 Gdate = currentDate; 31 34 alert("Update: " + Gdate); 32 35 GetDelete(Gdate); … … 88 91 }; 89 92 }); 90 };
Note:
See TracChangeset
for help on using the changeset viewer.