Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    insert row table

    hi,

    I am working on adding a datepicker on each row of the table grid using javascript .

    I have a done like below.


    Code:
    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>   ";
    Code:
    oCell = newRow.insertCell();
    Is this correct way?

    with the above code , cursor control pointing to previous textbox not the current one.


    can anyone help me?
    thanks
    Last edited by anvikon; 06-22-2010 at 06:12 PM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •