Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Lina on Aug 22, 2008 00:36
open dhtmlx forum
how to handle '&' in the id of row

i just asked a question about having '&' in the data of a grid and it works now for me,
but i have another issue that i have '&' in my row's id

can we do <![CDATA[ ]] > to the <row id=<![CDATA[ #rowid#]] > ?

thanks very much for your help.
Answer posted by Support on Aug 22, 2008 01:55
CDATA can be used only for cell content, it will not work for attributes. 
If you really need to have & in ID attributes, you can escape them

<row id="a&amp;b"    // => will be treated as a&b