我有1个iFrame,在此加载自动完成建议不在firefox中工作,但它在IE中工作,下面是我的代码。
任何帮助??
function loadAutoCompleteData() {
$(window.frames['offlineCandFrame'].document.getElementById('EmpCity')).autocomplete({
source: function( request, response ) {
var countryName = document.frames('offlineCandFrame').document.getElementById('controlId_3005').options[document.frames('offlineCandFrame').document.getElementById('controlId_3005').selectedIndex].text;
$.ajax({
url: ajaxZoniacURL,
dataType: "json",
type: "POST",
data: {
api: "ajaxRequestPost",
interfaceName: "SingleListHandler",
methodName: "autoCompleteLookup",
id: "1",
controlName : "controlId_3007",
name_startsWith: request.term
},
success: function( data ) {
}
});
}
});
}