定位被选中的select
<script>
var countryId = "{$user['country']}";
$("select[@name='country'] option[value='" + countryId + "']").attr('selected','selected');
</script>
<script>
var countryId = "{$user['country']}";
$("select[@name='country'] option[value='" + countryId + "']").attr('selected','selected');
</script>