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
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 16
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: 56162
    
  13

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Tarun Bolla
Ranch Hand

Joined: Jun 20, 2011
Posts: 85
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: same date should entered in another date field
 
Similar Threads
Probability
Date foramt
probability
probabilty
How do deal with dates and frequencies(days of week)