Forums Register Login

Manage Date of Birth dynamically in javascript

+Pie Number of slices to send: Send
Hi Team,

i ma designing on form in jsp. in that i am having one feild Date of Birth in that i want three drop down boxes one for month another for day and last for year.

i dont want to hardcode this details in my jsp file.beacause it will make my code lenghty... so kindly give me the solution for this.
+Pie Number of slices to send: Send
Why not join the modern era and use a date-picker rather than three dropdowns?
+Pie Number of slices to send: Send
You could use a loop. Even better you could create a "model" object in your servlet that has logic to create that list. Then the JSP refers to that in a loop.
+Pie Number of slices to send: Send
hi team,

i used javascipt for this in that i used for loop.
then i created element for each iteration.

Thanks.
The harder I work, the luckier I get. -Sam Goldwyn So tiny. - this ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 819 times.
Similar Threads
Java Date to MySQL Date
Timer
Age
date problem
xslt sorting
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:11:54.