请访问http://jsfiddle.net/RZy4E/,为什么我在选择时在警报框中看不到选项值?
<script type="text/javascript">
$(document).ready(function(){
$("#filterCountry").change(function(){
var parameters = $('#form_search').serialize();
alert(parameters);
/*$.ajax({
url: 'ajax_profile.php',
data: parameters,
type: 'POST',
success: function(data){
$('#load_vids').html(data);
}
});*/
});
});
</script>
</head>
<body>
<form name="form_search" action="" method="post" enctype="multipart/form-data">
<div style="padding-bottom:6px;">
Country:<br />
<select id="filterCountry" name="filterCountry" style="background:#e5e5e5;border:solid 0 #bbb;font-size:11px;width:135px;height:18px;padding:2px;">
<option value="all">All</option>
<option value="FR">FRANCE</option>
<option value="MY">MALAYSIA</option>
<option value="NP">NEPAL</option>
</select>
</div>
</form>
</body>