I am creating textboxes dynamically through javascript (will paste the code here). I want to use auto-complete functionality on that textboxes. P{lease help us out on this. below are my javascript code for generating textboxes.
function insRow() {
var tab = document.getElementById('POITable');
var size = tab.rows.length;
if (size == 1) {
DoPostBack();
}
else {
//console.log('hi');
var x = document.getElementById('POITable');
var new_row = x.rows[1].cloneNode(true);
var len = x.rows.length;
new_row.cells[0].innerHTML = len;
// var i1 = row.parentNode.parentNode.rowIndex;
// alert(i1);
var inp1 = new_row.cells[1].getElementsByTagName('input')[0];
inp1.id += len;
inp1.value = '';
inp1.style.width = 88 + "px";
x.appendChild(new_row);
}
}