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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
______________________________________________________________________
Why Share?
Dedicated Win 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=coldfusionc
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