form_blocks ignoring selected attribute for options

Any way to get the selected option to be recognized

I used the form_blocks because having a select box that is screen wide when my field is only two characters looked odd.

TIA,

David

 scheduler.form_blocks["div_editor"] = {                 
     render:function(sns) {                              
         var id = scheduler.getState().select_id;        
                                                         
         var divs = "<?php                               
 $divs = sess_get('setup','divs_selected');              
 $divs = explode(',',$divs);                             
 $loop = 0;                                              
 foreach ($divs as $div) {                               
     $loop++;                                            
     if ($loop == 1) {                                   
         echo '<option selected>' . $div . '</option>';  
     }                                                   
     else {                                              
         echo '<option>' . $div . '</option>';           
     }                                                   
 }                                                       

?>";

Hi,
you need to handle selection in set_value method, via JS code.
‘render’ is called only when control is displayed for the first time