473,324 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

how to set same date first text box to second text box and id increment by counter

how to set the value of date because usre put the date in first line and same date become in 2nd line date..nd date id m increment by counter so plz tell me how to set 1st line date in second line.


Expand|Select|Wrap|Line Numbers
  1.  <input type="text"   name="deliveryDate<%=i%>" id="deliveryDate<%=i%>" maxlength="10"  style="text-align: left; width:70px"  onclick="return checkDt(this);" /> 
  2.                             <a href="javascript:NewCssCal('deliveryDate<%=i%>','ddmmyyyy')"><img src="images/cal.gif" width="18" height="17" border="0" alt="Pick a date"></a>        
Attached Images
File Type: png ddddd.png (3.6 KB, 139 views)
Jul 3 '14 #1
1 1131
gits
5,390 Expert Mod 4TB
you can use the change-event to retrieve the current set value - then manipulate it and set the value to the desired textbox after you have retrieved the node reference of the mentioned textbox with:

Expand|Select|Wrap|Line Numbers
  1. document.getElementById(id)
for example.
Jul 11 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Piotr | last post by:
I need a VBA macro to copy all text from text objects in the igrafx flowcharter Diagram to clipboard or to save it to a text file (in order to count the text I translated). I tried the...
6
by: pmatos | last post by:
Hi all, Is there a way of (after creating a pair) set its first and second element of not? (pair is definitely a read-only struct)? Cheers, Paulo Matos
24
by: Agnes | last post by:
my date format is in yyyy-mm-dd mycommandtext is 'select * from myTable where issuedate >='" & Me.txtStartDate.text & "' and issuedate <= '" & Me.txtEndDate.text & "' " It return zero records,...
11
by: Dixie | last post by:
How can I programatically, take some Date/Time fields present in a table in the current database and change their type to text? dixie
8
by: libsfan01 | last post by:
how can i use regular expressions to ensure a mysql format date entry in a text field? thanks marc
13
by: technocraze | last post by:
Hi guys, I have an issue with incrementing a counter in a table using VB in MS Acess environment. Below mentioned is an instance. Implementation logic Table fields Serialno = pk Datatype...
6
by: Ned1966 | last post by:
I want to automatically date stamp a memo/text box when i click a combo box. i know how to start the code bulider in the event properties of the combo box and get it to select the memo/text box i.e...
51
by: sarega | last post by:
Hi, I have to extract the value entered in the first text box and based on the value entered have to populate the second text box. Eg:if the value entered in first text box is like home/version...
3
by: rameshbabu1251 | last post by:
hi i am getting trouble in displaying text field value as web page title on entering text in text field. can any one help me solving this problem here my code <html> <head> <script...
1
by: vik2696 | last post by:
how to prevent underscore at first place of text box?
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.