I have dynamically created a textbox in my JavaScript. The problem is that in the dynamically created textbox, I need to use it as a datepicker. I am new to JavaScript.\[code\] row_no4=0; var index=1; function addRow_otherschsp(tbl4,row5){ var textbox3a = '<input type=\"text\" size = \"10\" maxlength= \"10\" name=\"othrFA3'+tick+'\" id=\"othrFA3'+tick+'\" placeholder=\"dd/mm/yyyy\" >'; var newRow = tbl4.insertRow(row_no4); var newCell = newRow.insertCell(0); newCell.innerHTML = label3; var newCell = newRow.insertCell(1); newCell.innerHTML = "From "+textbox3a+ "To &`enter code here`nbsp;"+ textbox3b; row_no4++;}\[/code\]