|
I want to show the datetimepicker on each row of a table
If I give the unique Id in the jsp page and js, the cursor still pointing to only prev textbox.
Here is the detail code:
the below is the html code
<html:text property="DateTime" size="18" styleClass="maincontent1" value="" /><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]
For the above code I need to add a date picker for next row.
I did like below.
Var iarr = āDate Timeā;
Count = 0;
oCell.innerHTML = "<input type='text' name='"+iarr+"' id='"+iarr+"' size='18' class='maincontent1' ><a href=javascript:NewCssCal(\"" +iarr+ "\",\"yyyymmdd\",\"arrow\",true,24,false)><img src='images/cal.gif' width='16' height='16' border='0'alt='Pick a date'> </a> ";
count = count+1;
iarr = iarr+ count;
oCell = newRow.insertCell();
With the above code the cursor control pointing to the previous.
Do you have any solution for this? Please let me know
thanks
|
|
|
"The Date Picker Control allows you to add a date picker that opens up within your existing browser window (in a layer) when you click an icon beside a text form field. The control allows you to select a date using a familiar calendar user interface, and it automatically inserts the date into your text field. The date selector allows you to choose dates either via the mouse or the keyboard. You can customize the first day of the week, the date ranges, etc. The software is released under the GNU General Public License."
===========================
[URl=http://www.aussie.com.au/insurance/life-insurance.htm]Insurance Life[/url] | [URl=http://www.aussie.com.au/insurance/life-insurance.htm]Life Insurance Company[/url]
|
|
|
|
|
|
|
|