嗨,我如何将gathertests.php 中的记录填充到dijit/select 中?我不认为我应该使用innerHTML,因为那样不会构建dijit/select。也许我应该使用该功能。但是怎么做?
request.post('gathertests.php',{
data:{testx : selectX.value},
}).then
{
function(response){ dom.byId('line4').innerHTML=response;
},
function(error){
alert(error);
});
请告知谢谢克莱门特