Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. Javascript & Coldfusion

Javascript & Coldfusion

Scheduled Pinned Locked Moved Web Development
javascriptdatabasehelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    walkerst
    wrote on last edited by
    #1

    I'm trying to do a 2 drop-down menus (the first is generated from an access database, using coldfusion) and i want to populate the 2nd drop down menu based on what was selected from the first. I think i have to use javascript, but i'm a newbie when it comes to javascript. can anyone give any suggestions/help/advice ? thanks. scott here's the snippet to generate the first dropdown: #heading# based on what "#heading#" is, the second drop down is generated. thanks.

    U 1 Reply Last reply
    0
    • W walkerst

      I'm trying to do a 2 drop-down menus (the first is generated from an access database, using coldfusion) and i want to populate the 2nd drop down menu based on what was selected from the first. I think i have to use javascript, but i'm a newbie when it comes to javascript. can anyone give any suggestions/help/advice ? thanks. scott here's the snippet to generate the first dropdown: #heading# based on what "#heading#" is, the second drop down is generated. thanks.

      U Offline
      U Offline
      User 556471
      wrote on last edited by
      #2

      I have not done it with Coldfusion but with javascript and ASP. (It is assumed that both combo box values hav some relationship key.) To populate the second combo box on the change of the first one. 1- Create a recordset for the second combobox. 2- In javascript make functions: A- to populate the array with the recordset values. B- funcion to compare the first combo box value and populate second combo box with matched values. C- function to clear the prev values of second combo box on change of first combo box values. 3- on change of first combo box value call a Javascript function (with firstthe second combo box with the matched values. combo box value passed )that compare the value with the array and populate Thanx n' Regards anyla

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups