Help
Why would JS work when its on a page between
<SCRIPT> tags, but when I take the same code and copy it to separate page,
and use
<CFINCLUE>, I get the error object is expected, referring to the function
call.
example:
<SCRIPT >
Function f1(){
}
</SCRIPT>
<body>
<a href="javascript:f1();">link</a>
</body>
compared to:
<!---------template-------->
<SCRIPT >
Function f1(){
}
</SCRIPT>
<------------------------->
<!---------calling page-------->
<CFINCLUDE template="tempname">
<body>
<a href="javascript:f1();">link</a>
</body>
Thanks
Rodney
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists