File: assets/appjs/report.js

Recommend this page to a friend!
  Classes of Kishor Mali  >  PHP User Feedback System  >  assets/appjs/report.js  >  Download  
File: assets/appjs/report.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP User Feedback System
Application to record feedback from customers
Author: By
Last change:
Date: 4 months ago
Size: 654 bytes
 

Contents

Class file image Download
/**
 * File : report.js 
 * 
 * This file contain the validation of edit user form
 * 
 * @author Kishor Mali
 */

$(document).ready(function(){
	
	var nowDate = new Date();
    var today = new Date(nowDate.getFullYear(), nowDate.getMonth(), nowDate.getDate(), 0, 0, 0, 0);

    $('#reportDate').datepicker({
        autoclose: true,
        todayHighlight : true,
        format: 'dd/mm/yyyy',
        endDate : today
    });

    $("#reportDate").attr("value", null);
    
    var employeeReportForm = $("#employeeReportForm");
	
	var employeeReportFormValidator = employeeReportForm.validate({
		rules:{
			employees : { required : true }
		}
	});
});

For more information send a message to info at phpclasses dot org.