aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes same date should entered in another date field Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "same date should entered in another date field" Watch "same date should entered in another date field" New topic
Author

same date should entered in another date field

shashi bhushans
Greenhorn

Joined: May 12, 2011
Posts: 17
Hi guys,
In jsp page 2 date text field(1.Entrustment date 2.commencement date). when date is entered in ENTRUSMENT DATE field.same date should be assigned to the COMMENCEMENT DATEfield.
Please let me know how to do with example
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60053
    
  65

This is something you will need to do with JavaScript not JSP. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Tarun Bolla
Ranch Hand

Joined: Jun 20, 2011
Posts: 89
Exactly this except for the ids and javascript notations (Inline and all)
Komal Renu
Ranch Hand

Joined: Jul 21, 2011
Posts: 51
You could also use the "onBlur" function for TextBox 1. So that once the user has entered the value in TextBox 1, it is copied as is in TextBox 2.

Its just another alternative.

Thanks and Regards,
-------------------------------------------------------------------------------------
Komal Renu | krenu@infocepts.com | www.infocepts.com
-------------------------------------------------------------------------------------
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: same date should entered in another date field
 
Similar Threads
probability
probabilty
Date foramt
Probability
How do deal with dates and frequencies(days of week)