text: $(document).ready(function () {
  	$.validator.addMethod("noSpace", function(value, element) { 
  		if ( value.trim().length != 0){ 
  			return true ;
  		} 
  		else{
  			return false;
  		};
  	},"Enter proper Name");
  
  	$("#cat_validate").validate({
  		rules:
  		{
  			Name:
  			{
  				required: true,
  				noSpace: true
  			},
  			
  			status:
  			{
  				required: true
  			}
  		},
  		message:
  		{
  			Name:"Enter Proper Name",
  			status:"Select Status"
  		},
  		errorPlacement: function(error, element) {
             if (element.attr("type") == 'radio') {
                   error.appendTo(element.parent());
              }
                else {
                  error.insertAfter(element);
  
              }
          },
  	});
  });