File: assets/appjs/assignCustomers.js

Recommend this page to a friend!
  Classes of Kishor Mali  >  PHP User Feedback System  >  assets/appjs/assignCustomers.js  >  Download  
File: assets/appjs/assignCustomers.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: 587 bytes
 

Contents

Class file image Download
/**
 * File : assignCustomer.js 
 * 
 * This file contain the validation of assign customers to executives form
 * 
 * @author Kishor Mali
 */
$(document).ready(function(){
	
	$("#checkAll").change(function () {
        $("input:checkbox").prop('checked', $(this).prop("checked"));
    });

	var assignCustomersForm = $("#assignCustomers");
	
	var assignCustomersFormValidator = assignCustomersForm.validate({
		
		rules:{
			'isChecked[]' :{ required : true },
			executive : { required : true }
		},
		messages:{
			'isChecked[]' :{ required : "Select atleast one record"}
		}
	});
});

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