eq标签name属性:vo[‘gs_nationid‘], value属性:如果是数据库取值,这样取值:$vocountry[‘countryid‘]
<select name="gs_nationid" class="required combox"
ref="w_combox_province" refUrl="__ROOT__/index.php/Admin/Util/boundProvince/countryid/{value}"> <option value="">选择国家</option> <volist name="countrylist" id="vocountry" > <option value="{$vocountry.countryid}" <eq name="vo[‘gs_nationid‘]" value="$vocountry.countryid"> selected </eq>>{$vocountry.countryname}</option> </volist> </select> ------------------------------
<select name="languagetype"
class="required combox">
<option value="1" <eq name ="vo[‘languagetype‘]" value="1">selected</eq>>中文</option>
<option value="2" <eq name ="vo[‘languagetype‘]" value="2">selected</eq>>英文</option>
</select>