Hi All -
I am trying to do the following:
<script language="text/javascript">
function abc(arg1, arg2) {
<cfquery name="q" datasource="..">
select * from table1 where col1 = arg1
</cfquery>
..................
}
</script>
Is it possible to pass javascript arguments to a coldfusion query which is in
turn present in the javascript block?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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-talk/message.cfm/messageid:338091
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm