Hi, i have this <select>
<select onchange="">
<?php $body = Body::model()->findAll();
foreach($body as $key => $value) { ?>
<option><?php echo $value->title; ?></option>
<?php } ?>
</select>
how to make this, when i call the onchange event, my page to load only with the selected items.
For example, when is not selected the page show all the kind of motors, but when i select another option, to load a new page with the selected type of motors.