Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?= $form->field($model, 'ID_region')->dropDownList($arrReg,[
- 'prompt'=>'Область',
- 'onchange'=>'$.post("/enrollee/area/lists?ID='.'"+$(this).val(),function (data){
- $("select#enrollee-id_area").html(data);
- });' and '$.post("/enrollee/city/lists?ID='.'"+$(this).val(),function (data){
- $("select#enrollee-id_city").html(data);
- });' ,
- ]) ?>
Add Comment
Please, Sign In to add comment