

<span id="spryselect3">
<select name="accountid" id="accountid" onchange="load2();"  class="select2 wdt100">
  
  <option value="-1">اختر</option>
   
  {foreach $accountdata as $accdata}
  
  
  <option value="{$accdata->accountid}">{$accdata->accountname}</option>
  
  
  {/foreach}

 

</select>
<span class="selectInvalidMsg">*</span></span>

{literal}
<script type="text/javascript">
var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3", {isRequired:false, invalidValue:"-1"});
 </script>
 {/literal}
