28 users online (1 members and 27 guests)  


  Results 1 to 3 of 3

Related

  1. Image in between menu options    Forum: CSS Forum
    Replies: 6
  2. Code to Change Picture Based on Drop Down Option Selected    Forum: Website Scripts Forum
    Replies: 9
  3. Running out of promotional options    Forum: Website Promotion Forum
    Replies: 0
  4. Not happy with Ensim Pro... Options??    Forum: Web Hosting Forum
    Replies: 2
  1. #1
    jsankar's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2003
    Posts
    2

    Question options based on one option

    I've a html form, in which there is an option like recurrence of an event whether Daily, Weekly, Monthly and Yearly. If the user selects Daily, I've to show options like Every 2(n)days or Every Week Day. If the user selects weekly, I've to show options like Recur every week on Monday, Tuesday, Wednesday and so on. Like wise different options for monthly and yearly. Any one can help me how to do this in html? My application is java/jsp based using postgres database.

    Thanks.

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hiya,

    Well, I have never used server-side java, but the principal should be the same. Just have the drop-down select reload the page every time it changes, with a querystring in the url. eg index.jsp?mode=daily

    Then have your jsp read the querystring and load the correct dataset from the database. Voila.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    jsankar's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2003
    Posts
    2
    Thanks mate. I'll give a try.



Tags for this Thread