Great stuff! ...only one problem - I've never used Ajax, and do not know what is involved to make it work. My apologies for being so basic, but could use a little advice.
Thanks. Donna ________________________________________ From: Andrew Scott [[email protected]] Sent: Monday, July 26, 2010 12:18 AM To: cf-newbie Subject: RE: Two dropdown's - Second populated by the first Maybe this might help. http://www.andyscott.id.au/2010/7/25/ColdFusion-and-populating-a-dropdown-ba sed-on-the-selection-of-another Regards, Andrew Scott -----Original Message----- From: Martin, Donna M [mailto:[email protected]] Sent: Monday, 26 July 2010 12:57 PM To: cf-newbie Subject: RE: Two dropdown's - Second populated by the first Thanks, Rick, for your reply. I too will be watching the list for options, and looking forward to finding a good solution. Thanks again! Donna ________________________________________ From: Rick Faircloth [[email protected]] Sent: Sunday, July 25, 2010 10:30 PM To: cf-newbie Subject: RE: Two dropdown's - Second populated by the first Hi, Donna... I've been using the jQuery javascript library a lot in the last your and it's great to work with. I code a lot of AJAX into my web interfaces now. Good stuff. I haven't used jQuery to create multiple dependent dropdowns, so I don't have any code readily available. I'm sure some others will chime in on the list with some solutions for you, perhaps using ColdFusion's own built-in functionality. If no one steps up with a solution, I'd be glad to work one up for you. I'll be watching the list to see what comes your way. And yes, it is possible to create as many dependent selects as you desire. Rick -----Original Message----- From: Martin, Donna M [mailto:[email protected]] Sent: Sunday, July 25, 2010 9:21 PM To: cf-newbie Subject: Two dropdown's - Second populated by the first Good evening, all, This may not be directly linked with ColdFusion, but am really needing advice on this one... I will be populating a dropdown list with CF from an SQL database. I need for a second dropdown to be populated based on the selection in the first dropdown--without refreshing the page. Is the best way to do this with Javascript? If so, do any of you have some sample code? I'm not as familiar with Javascript as I should be. Also, do you think it would be possible to use the same code to have a third dropdown populated by the selection on the second? One more question: I'm thinking of purchasing a book to help fill in the gigantic 'black hole' in my knowledge base regarding Javascript...Any suggestions as to title/author? I appreciate any advice you might have on this... Many thanks, Donna PS - I enjoy this list although I'm mostly a silent observer. This time, I'm really needing help, and will be most grateful for any assistance you can offer. ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5048 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
