try doubling-up on your pound signs.
i.e:
<cfhtmlhead text="<style
type=""text/css"">#IIf(request.fieldValues.SQLMethod EQ
'insertSelect',
DE('##extrasInsertSelect {display: block;}'), DE('##extrasInsertSelect
{display: none;}'))#</style>">
> -----Original Message-----
> From: Gyrus [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 28, 2002 06:19
> To: CF-Talk
> Subject: pound signs inside DE('') - help!
>
>
> Having problems with some pound signs / hash marks. Trying to write
> style tag into the HTML <head> tag as follows:
>
> <cfhtmlhead text="<style
> type=""text/css"">#IIf(request.fieldValues.SQLMethod EQ
> 'insertSelect',
> DE('#extrasInsertSelect {display: block;}'), DE('#extrasInsertSelect
> {display: none;}'))#</style>">
>
> This throws an expression evaluation error, and I've tracked
> the problem
> down through elimination to the pounds signs (as ID
> selectors). Escaping
> them through doubling doesn't seem to work - nothing does! Even
> DE(chr(35)&'extrasInsertSelect etc.') doesn't.
>
> Any offers?
>
> - Gyrus
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> - [EMAIL PROTECTED]
> work: http://www.tengai.co.uk
> play: http://www.norlonto.net
> - PGP key available
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
______________________________________________________________________
Dedicated Windows 2000 Server
PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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