Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Faisal Yahya on Feb 25, 2008 22:39
open dhtmlx forum
Firefox problem

hi,

I have a problem using CDDATA (in DHTMLXGrid) with Firefox, but everything was fine in IE.

my coding as follows:

<cell style="color:blue">
    <![CDATA[<a href="123.cfm">12345</a>]]>
</cell>

this column is displayed properly in IE, but invisible in Firefox.


TIA,

FY

Answer posted by Support on Feb 26, 2008 06:05
Please be sure that there are no whitespace between end of cell tag and start of CDATA

<cell style="color:blue"><![CDATA[<a href="123.cfm">12345</a>]]>
</cell>

Parser takes first text element of cell tag as value, and in case of whitespace - it taken instead of CDATA content