• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

same date should entered in another date field

 
shashi bhushans
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64618
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is something you will need to do with JavaScript not JSP. I have moved this post there for you.
 
Tarun Bolla
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly this except for the ids and javascript notations (Inline and all)
 
Komal Renu
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
-------------------------------------------------------------------------------------
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic