欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

EasyUI Combobox設(shè)置默認(rèn)值 獲取text的方法

 更新時(shí)間:2016年11月28日 11:02:33   投稿:mrr  
這篇文章主要介紹了EasyUI Combobox設(shè)置默認(rèn)值 獲取text的方法,非常不錯(cuò),具有參考借鑒價(jià)值,需要的朋友可以參考下
$('#xxx').combobox('setValue',11);
$('#epsId_combo').combobox('selectedIndex',0);
<pre class="html" name="code"><select id='xxx' class="easyui-combobox" style="width: 180px;"> 
<option value='1'>第一個(gè)</option> 
<option value='2' selected="selected">第二個(gè)</option> 
<option value='3'>第三個(gè)</option> 
</select>

獲取text:

$('#com').combobox('getValue')獲取當(dāng)前選中的值

$('#com').combobox('getText')獲取當(dāng)前選中的文字

以上所述是小編給大家介紹的EasyUI Combobox設(shè)置默認(rèn)值 獲取text的方法,希望對(duì)大家有所幫助,如果大家有任何疑問請(qǐng)給我留言,小編會(huì)及時(shí)回復(fù)大家的。在此也非常感謝大家對(duì)腳本之家網(wǎng)站的支持!

相關(guān)文章

最新評(píng)論