html代码:

       
        所有        已录用        未录用        已离职

jquery代码:

function select(obj){
     var is_hire=obj.options[obj.selectedIndex].value;
        window.location.href="__URL__/index&is_hire="+is_hire;
        return; 
}

关键代码:

onchange="select(this);"  和  is_hire=obj.options[obj.selectedIndex].value;
<!doctype html>
<html>
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <script src="js/jquery-1.8.3.min.js"></script>
  <title>Document</title>
 </head>
 <body>
 <select name="" onchange="select(this);">
<option value="0" selected>邮箱</option>
<option value="1">手机</option>
 </select>
  <input type="text" name="email">
 </body>
</html>
<script type="text/javascript">
function select(obj){
     var is_hire=obj.options[obj.selectedIndex].value;

        // window.location.href="__URL__/index&is_hire="+is_hire;
       if(is_hire == 1){
        $('.phone-email').attr('name','phone');
       }
       if(is_hire == 0){
        $('.phone-email').attr('name','email');
       }
        return; 
}
</script>