|
Need error solving
Problem is, instead of values shown in list of select (tag) as options, they are been written beside it. The row within which select (tag) is been generated are dynamic based on user choice.
The code is:
row.innerHTML = "<select name='list["+rowNo+"]' id='list["+rowNo+"]' >";
for(var i=1; i<=31; i++){
row.innerHTML += "<option >"+i+"</option>" ;
}//end of for
row.innerHTML += "</select>";
|