latest reactions

spider
One way is to google for page which cont …
andy
you can find this tool here http://andy. …
Tjarko
Eej Walker, that's pretty cool, I will c …
Walker
Thanks for posting your thoughts. I modi …
Albert
Thanks !! …

Clicky Web Analytics
Use OpenDNS
ZERIGO DNS

Ultimate dns hosting based on pre-defined templates, DNS redirection and lot's more.

mxna feeds

CF101 Archive: September 2007 Object Oriented PizzaJob Opening for ColdFusion Developer at Arizona State UniversityMy New Experience Getting ColdFusion Builder 2 Console WorkingCF101 Archive: February 2007 Data Table GatewaysJob Opening for Sr. ColdFusion Developer in CA/ San Fernando ValleyColdFusion Supports HTTP Verbs PUT And DELETE (As Well As GET And POST)Best wishes for the new FuseboxCF101 Archive: January 2007 Data Access ObjectsOpen Source Conference For CFML DevelopersSkype Blocking Web Services with IIS, ColdFusion & RailoCF101 Archive: October 2006 Five Cool Things with ColdFusionGenerate a tag cloud from an RSS feed with ColdFusionColdFusion MeetUp: Cloudy with a Chance of Tests, with Mike HenkeReminder - Adobe CookbooksCF101 Archive: September 2006 A first look at FusionDebug

All files are strictly confidential: all information is classified.
© Copyright 2002 - 2012 mximize.com.
All right reserved.

Visit Carlos GallupaMXNA webfeed

How can I put a # (pound sign) in my ColdFusion output?

You can "escape" the pound sign by doubling it. For example:

<cfoutput><font color="##FFFFFF">#myVariable#</font></cfoutput>


Alternately, consider moving the CFOUTPUT tags closer to the variable, like this:

<font color="#FFFFFF"><cfoutput>#myVariable#</cfoutput></font>

9125 viewed | 2 opinion(s)  | del.icio.us | Digg it | Tjarko @ 14/11/02 9:22 cet


Reactions:

Aaron Greenlee wrote.... (site)

Escaping the "#" symbol will allow you to place a pound sign inside your cfoutput.

Example...

<cfoutput>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
<html>
<head>
<title>#getResource("siteTitle")#</title>
<!-- .CSS Includes -->
<link type="text/css" rel="stylesheet" href="includes/styles/layout.css">
<!-- .JS Includes -->
<script type="text/javascript" src="includes/javascript/jquery/jquery-latest.min.js"></script>
<script type="text/javascript" src="includes/javascript/jquery/jquery.validate.min.js"></script>

<!-- jQuery Validaton Init -->
<script>
$(document).ready(function(){
$("/##headerSearch").validate();
});
</script>


</head>
<body>
<p>This was a simple example. There is no form to validate.</p>
</body>
</html>

24 February 2009 14:08 cet  

ryan roberts wrote....

this is the most annoying thing in the world. what a great way to spaghetti out and add pointless shit to your code! f cold fusion

14 May 2009 14:57 cet  

Leave your comment

Your name


Your url/website/link/email....


Some room for your reaction is placed here..



The answer to the ultimate question is?? (42 ;-))




URL en mail addresses are translated for you... life sometimes is that simple!!