::pepysDHTMLx:: custom content in header

Hi,

 
#1

   $strXML .= “”;
        $strXML .= “,#combo_filter,#combo_filter,#combo_filter,<input type=‘button’ onClick=‘xRefreshFilters()’ value=‘Reset filters’ >”;
    $strXML .= “”;


#2

   $strXML .= “”;

        $strXML .=
“,#combo_filter,#combo_filter,#combo_filter,<![CDATA[  ]]>”;

    $strXML .= “”;




I want to use one of this possibilities to create a button in my filters header row, but is not working… What is wrong…?



Both methods are correct. But you should contain into the tag:


$strXML.="";
$strXML .= “”;
$strXML .= “,#combo_filter,#combo_filter,#combo_filter,<input type=‘button’ onClick=‘xRefreshFilters()’ value=‘Reset filters’ >”;
$strXML .= “”;
$strXML.="";



I’ve used already the syntax what you sugested my, but only the first method  #1 is working, not #2 also. I want to use the second method, why it this not working?

To use second kind of syntax, adjust it as
$strXML .= “<![CDATA[,#combo_filter,,,#combo_filter,#combo_filter, ]]>”;
so , whole content of param tag included in CDATA