You escape a hash by putting another one in front of it:

<cfoutput>##</cfoutput>

will yield a single hash in the generated output:

#

So for your specific case, you want this (or something like it):

<a name="###jobnumber#"><a href="mypage.cfm?jobnumber=#jobnumber#">....

This (doubling) is also how you escape quotes inside CF strings, while
we're on the topic:

<cfset myString = "string with ""quotes"" inside" />

cheers,
barneyb

On Tue, Dec 16, 2008 at 8:40 PM, Terry Troxel <[email protected]> wrote:
> I have a page with a query to select all jobnumbers from a table and an
> output query that displays info on each jobnumber.
>
> I would like to add a bookmark above each #jobnumber# and am unsure how to
> do it as it requires a # sign in the href calling the page as in
> <a href="mypage.cfm?jobnumber=#jobnumber#">JOB NUMBER</a>
>
> Terry Troxel
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316848
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to