Question
Passing Javascript value to Coldfusion
Hi,
This may be a too simple question, but how can I pass the Javascript value
to Coldfusion?
Within a Coldfusion page I tried something like below, and it's not working.
<script language="javascript">
function afunction(javascript_id) {
<cfset URL.coldfusion_id = javascript_id>
}
</script>
I would really appreciate for a way to fix this.
YC
This may be a too simple question, but how can I pass the Javascript value
to Coldfusion?
Within a Coldfusion page I tried something like below, and it's not working.
<script language="javascript">
function afunction(javascript_id) {
<cfset URL.coldfusion_id = javascript_id>
}
</script>
I would really appreciate for a way to fix this.
YC