15,897,187 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 11709123 (Top 6 by date)
Member 11709123
13-Jul-15 16:44pm
View
so instead of the dropdown, i want the cfquery to be put in place.
if you look at the first part, its a javascript to show a button, when clicked it will show a dropdown, upon selecting a dropdown, 2nd dropdown shows up.
so, my initial question for this post, is that, how do i include coldfusion query which pulls the values for multiple in place of 2nd dropdown from the javascript.
hope i explained well.
Member 11709123
9-Jul-15 11:41am
View
So the current dropdown is
option = document.createElement("option");
option.value = "2";
option.text = "Two";
select.appendChild(option);
But how do i include a coldfusion query as dropdown...option in place of above?
cfselect name="NameList" size="1" query="UserRole_q" value="EmpID" display="Name" selected="#temp#">
<option value="-1"</option>
Member 11709123
9-Jul-15 11:37am
View
Deleted
So the current dropdown is
option = document.createElement("option");
option.value = "2";
option.text = "Two";
select.appendChild(option);
But how do i include a coldfusion query as dropdown...option in place of above?
<cfselect name="NameList" size="1" query="UserRole_q" value="EmpID" display="Name" selected="#temp#" >
<option="" ><="" option>
<="" cfselect="">
Member 11709123
9-Jul-15 11:35am
View
Deleted
So the current dropdown is
<pre lang="text">option = document.createElement("option");
option.value = "2";
option.text = "Two";
select.appendChild(option);</pre>
But how do i include a coldfusion query as dropdown...option in place of above?
<pre lang="text">
<cfselect name="NameList" size="1" query="UserRole_q" value="EmpID" display="Name" selected="#temp#">
<option value="-1"></option>
</pre>
Member 11709123
24-Jun-15 11:58am
View
for the second dropdown, how do i add more than 1 option,
var select = document.createElement("select");
var option = document.createElement("option");
option.value = "1";
option.text = "One";
select.appendChild(option);
im trying to add more than 1 option for the second dropdown and im unable to do that. kindly help
Member 11709123
23-Jun-15 13:51pm
View
thanks, i understand it now
Show More