Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Paulo on Jan 11, 2008 06:04
open dhtmlx forum
[Dxhtml Tree] Problem with <a> tags in firefox

Hi!
I begin using the dxhtmltree.
I've got a problem with Firefox (IE is fine in this case).

I've got my lists of elements.

Elements contents is html code like this :
<a href="#"> text example  <img alt="modifier" title="modifier" border="0" src="../images/edit.gif"></a>

So we should have a "link" when users click on "text example", or on the image...
On IE, no problem.
On FF, the link doesn't work...

Do you have any idea to help me?

thanks!
Answer posted by Support on Jan 11, 2008 06:54
Do you load data from XML or from HTML markup.
    In case of loading from HTML - please try to use dhtmlxtree_start.js from latest package, older version of component can't process tags correctly in FF
    In case of loading data from XML  - there must not be any problem
          <item id="some">
             <itemtext><![CDATA[
                <a href="#"> text example  <img alt="modifier" title="modifier" border="0" src="../images/edit.gif"></a>
             ]]></itemtext>
          </item>
Answer posted by Paulo on Jan 11, 2008 07:05
Thanks you very much.
I was using HTML markup and the problem was I wasn't using the latest version of the file dhtmltree_start.js

Thanks,