Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
hivaluescomputing #1
Javascript variables to cold fusion
I created variables in javascript and would like to have them available to me
in cold fusion code. Does anyone know how I can do this? In the accompaning
code I retrieved data from one frame into another using javascript. I then
want to use that data as a datasource in the following cfquery. I'd appreciate
any help in this area. Thank you.
<script>
testvbl =
parent.frameVariables.document.formVariables.eleme nts.studentTeacher.value;
</script>
<cfquery name="qs_subjectClass" datasource="????" dbtype="ODBC" username="dba"
password="sql">
select subjectClassId,
subjectClassName
from t_subjectClass
order by
subjectClassName
</cfquery>
</cfoutput>
hivaluescomputing Guest
-
Migrating from Cold fusion 5 to Cold fusion 7
Hi, I am facing problem while migrating from CF 5 to CF 7. Please let me know is there any tool is available to Migrate from CF5 to CF 7. -
Cold fusion
Hi I am new to the cold fusion and would like to know where can I write the cold fusion code. For example We can write ASP code in the notepad... -
Cold Fusion doesn't run
I went to Control Panel, Administrative tools, services, and clicked to startt cold fusion and got an error message no 2. Macromedia provides no... -
pass javascript variable to cold fusion
anyone know if there's a way to pass a Javascript variable to Cold fusion? Or a good article that shows how to do this? -
Using Bind Variables with Cold Fusion and Oracle
<OakRogbak_erPine@yahoo.com> wrote in message news:13fdc9b4.0307020959.79a7c322@posting.google.com... well the sql_text column holds the actual... -
byron1021 #2
Re: Javascript variables to cold fusion
JS variables are client side objects, so they don't actually get interpreted by
the CF server, they are interpreted by the client's web browser when the page
is rendered. You would need to submit the value using a form to a cf page
that just did the query portion, ie <cfquery name='qs_subjectClass'
datasource='#form.studentTeacher#' dbtype='ODBC' username='dba' password='sql'>
select subjectClassId, subjectClassName from t_subjectClass order by
subjectClassName </cfquery> </cfoutput>
byron1021 Guest



Reply With Quote

