Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
champion_fella #1
Dynamic Select Box using a Database
Hello,
I am attempting to write a dynamic select box . The dynamic data is retrived
from a database. I get an error that says 'Server is undefined' when i on the
file in Internet Explorer. Here's the Javascript code i 'm using to connect to
my server. can anyone see ofr understand why this error is occuring? (p.s.
Buns_For_Fun is the name of my server)
<script language=JavaScript>
function newSelect_onChange()
{
var adoConnection = Server.CreateObject("ADODB.Connection");
var adoRecordset = Server.CreateObject("ADODB.RecordSet");
adoConnection.Open("Buns_For_Fun");
var mySQL;
var mySQL = "SELECT * FROM document.form.chooseList.value";
adoRecordSet = adoConnection.Execute(mySQL);
adoRecordset.Close();
adoRecordset = null;
adoConnection.Close();
adoConnection = null;
//return adoRecordSet;
}
</script>
champion_fella Guest
-
Dynamic Select Generation
I created a dynamic select tag using information I pulled from an Access database. What I want to know is how you set the first item in the drop... -
dynamic select names
Hi, need help to write action page respective to the dynamic select names and values from the database as shown below. I know how to write code... -
dynamic select list question
Greetings, I have posted the working code. My question is how do I capture what was selected from the lists? I am a total newbie to this stuff and... -
Dynamic Dependant Select Revisited
This code works fairly well, so I wanted to share it. It does have one small problem that I was wondering if someone could help me with. ... -
dynamic sql dropping and select into
I have a stored procedure running on SQL 7.0 that works most of the time but a few times a week gets the following error: 'Could not find table...



Reply With Quote

