博客园站长
这是人类成长进步中记录的每一时刻
摘要: 【得到相差的 月份数】DateTime startDate = DateTime.Parse("2006-12-1");DateTime endDate = DateTime.Parse("2006-02-25"); //结束时间-起始时间int totalMonth = endDate.Yea... 阅读全文
posted @ 2011-12-20 10:40 dm3344 阅读(15219) 评论(0) 推荐(0)
摘要: 下拉框按钮 select 的change $(“input[type=radio][name=school][value=8]“).attr(“checked”,’checked’); 使单选框选中$('#Select').change(function(){alert($(this).children('option:selected').val());下拉框选中的对象获取其值alert($(this).children('option:selected').attr("id"));下拉框选中的对象获取其ID 阅读全文
posted @ 2011-12-20 10:08 dm3344 阅读(5014) 评论(0) 推荐(0)