jimmyshoes
Programmer
Is it possible to create a drop down list (<select>) in coldfusion where the options are populated from a database dynamically using ajax when the down arrow of the select is clicked ? Any suggestions appreciated
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<html>
<head>
</head>
<body>
<cfform name="mycfform">
<!---
The States selector.
The bindonload attribute is required to fill the selector.
--->
<cfselect name="state" bind="cfc:bindFcns.getstates()" bindonload="true">
<option name="0">--state--</option>
</cfselect>
<cfselect name="city" bind="cfc:bindFcns.getcities({state})">
<option name="0">--city--</option>
</cfselect>
</cfform>
</body>
</html>