lphabet_value').val($(this).attr('class'));
  $('#recruiterform').submit();
});

function add_class(){
  var cl = $("#alphabet_value").val()
  if (cl){
  $("."+cl).parent('li').addClass('active')
}
}
add_class()

$('.pagination li a').click(function(e) {
    e.preventDefault();
    $('#page').val($(this).attr('class'))
    var clas = $(this).attr('class');
    if (clas == 1){
    $('#recruiterform').attr('action', '/recruiters/')
    }
    else{
    $('#recruiterform').attr('action', '/recruiters/page/'+ cl