scripter73
Programmer
Hi,
I'm having trouble resolving a Cold Fusion variable in Javascript.
Basically I have the following:
<script language="Javascript">
<!--
function populate_contact2(){
document.form2.vo_fname.value=<cfoutput>#form.firstname</cfoutput>
//-->
</script>
Basically this function will be called from a form when a user checks a box.
The error I get is the standard "Syntax error on the Cold Fusion variable value". Form.firstname exists.
Please advise.
Thanks,
scripter73
I'm having trouble resolving a Cold Fusion variable in Javascript.
Basically I have the following:
<script language="Javascript">
<!--
function populate_contact2(){
document.form2.vo_fname.value=<cfoutput>#form.firstname</cfoutput>
//-->
</script>
Basically this function will be called from a form when a user checks a box.
The error I get is the standard "Syntax error on the Cold Fusion variable value". Form.firstname exists.
Please advise.
Thanks,
scripter73