我只是在一個包含內聯滾動器的應用程序工作。它工作正常,但我想增加mobiscroll結果給出的結果。如何增加從mobiscroll顯示的結果
我有一個DB-Request,它用選擇值填充我的Mobiscroll,但它只顯示我的數據庫的前2個結果。
function querySuccess_a2_2(tx2, results2) {
inhalt = results2.rows.length;
sObject ="";
for(x=0; x<inhalt; x++){
sObject += "<option value='"+results2.rows.item(x).typ_id+"'>"+results2.rows.item(x).typ_name+"</option>";
}
document.getElementById("sel").innerHTML ="<option value='99597'>Bitte Typ auswählen</option>"+sObject;
aussuchen();
<form name="testform" action="" id="formIn_a2">
<select name="States" id="sel" style="height:300px!important;">
<option default>Bitte Typ auswählen</option>
</select>
我想增加這可能5-7結果,但我不知道如何做到這一點。我試圖增加我的div的高度,或者增加選擇的高度,但沒有任何更改結果。
我在哪裏可以找到增加結果的選項?