Bookmark Topic Watch Topic
  • New Topic

Please solve

 
Soumya Ghosh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have to take a date from user through HTML dropdown box and I have to display past four dates of the user given date on next page.
I also have to pass those dates through session so that I can access that in future anywhere.

What is the procedure of doing this? can any one please provide me sample demo code?
 
Sri Gnana
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
  • Report post to moderator
Its better to use javascript.
First use the javascript to display the date in the dropdown menu. Then store the date in the session and retrieve it from the next page, now whrite the java script to diplay other 4 days date.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question multiple times. Now we have two simultaneous conversation about the same topic, since there's also this duplicate thread. That's confusing and leads to duplicated effort: CarefullyChooseOneForum

Its better to use javascript.

That's debatable. Without knowing the particulars of the posters web app it's premature to make a blanket statement like that.
[ January 01, 2007: Message edited by: Ulf Dittmer ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!