Folks:
Thanks for the responses. It appears that the preferred method for quoting
in HTML and CFML is double quotes.
Now, for my follow-up question:
What is the preferred method of quoting for JavaScript?
What's the best way to quote the following code?
<cfhtmlhead text="
<script language='JavaScript'>
<!--
alert('Hello, World!');
window.open('myFile.cfm', 'myFileWin', 'WIDTH=200,HEIGHT=150');
//-->
</script>
">
OR
<cfhtmlhead text='
<script language="JavaScript">
<!--
alert("Hello, World!");
window.open("myFile.cfm", "myFileWin", "WIDTH=200,HEIGHT=150");
</script>
//-->
'>
Thoughts and Comments are _greatly_ appreciated!
Thanks Again!
Christian N. Abad
ColdFusion Web Developer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists