hi,
I am working on inserting row on table grid using javascript .
I have a done like below.
oCell.innerHTML = "<input type='text' name='DateTime' id='DateTime' size='18' class='maincontent1'>
<a href=javascript:NewCssCal('DateTime','yyyymmdd','arrow',true,24,false);><img src='images/cal.gif' width='16' height='16' border='0'alt='Pick a date'> </a> ";
oCell = newRow.insertCell();
Is this correct way?
Using this , when I insert another row on the table the calender is pointing to the same text box as previous. what is another way to point the next testbox.
Can anyone anwer my question please?
I am working on inserting row on table grid using javascript .
I have a done like below.
oCell.innerHTML = "<input type='text' name='DateTime' id='DateTime' size='18' class='maincontent1'>
<a href=javascript:NewCssCal('DateTime','yyyymmdd','arrow',true,24,false);><img src='images/cal.gif' width='16' height='16' border='0'alt='Pick a date'> </a> ";
oCell = newRow.insertCell();
Is this correct way?
Using this , when I insert another row on the table the calender is pointing to the same text box as previous. what is another way to point the next testbox.
Can anyone anwer my question please?