Peter,
I went ahead and tried the following code:
<cfoutput>#getProperty("html").addJavascript("/includes/js/
supplier.cfm")#</cfoutput>
as well as simply:
<cfoutput>#getProperty("html").addJavascript("supplier.cfm")#</
cfoutput>
But the result I get when I view the source is:
<script type="text/javascript" src="/includes/js/supplier.cfm.js"></
script>
The ".js" extension gets appended after the ".cfm"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets:
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---