echo CHtml::dropDownList(
'country',
isset($this->selectedCountry) ? $this->selectedCountry : '',
Country::getCountriesArray(2, 0, 1),
array(
...
...
<select id="textID" class="span3" name="textID">
<option value="0">Выбрать</option>
<option value="11">Да</option>
<option value="12">Нет</option>
</select>
<select id="textID" class="span3" name="textID">
<option value="0">Выбрать</option>
<option value="221">По умолчанию</option>
<option value="222">Своё решение</option>
</select>
function reloadApartmentList(url) {
$.ajax({
type: 'GET',
url: url,
/*data: {is_ajax: 1},*/
ajaxStart: UpdatingProcess(resultBlock, updateText),
success: function (msg) {
history.pushState( {callFrom: 'reloadApartmentList', path: url, response: msg}, null, url);
$('div.main-content-wrapper').html(msg);
$('div.rating > span > input').rating({'readOnly': true});
// smooth scroll to
var dest=0;
if($("#appartment_box").offset().top > $(document).height()-$(window).height()){
dest=$(document).height()-$(window).height();
}else{
dest=$("#appartment_box").offset().top;
}
$("html,body").animate({scrollTop:dest}, 500,"swing");
$('#update_div').remove();
$('#update_text').remove();
$('#update_img').remove();
$("input.box").each(function() {
var mycookie = $.cookie($(this).attr("name"));
if (mycookie && mycookie == "true") {
$(this).prop("checked", mycookie);
}
});
}
});
}