Hi,
In the follwoing code,siteIDs[i]
can't got the i value which defined in for loop.
Can anyone help me?
for (i=0; i<siteIDs.length;i++){
$( "#sites" ).autocomplete({
source: siteNames,
select: function() {$('#siteID').val(siteIDs[i])}
});
}