dhtmlxcombo group selected

Good morning,



I’m using dhmtlxcombo group and can not do the second combo select the item.



Please could you help me, excuse my English.



Thank you,



echo “

”;

echo “Especifica��o”;

echo “
”;



echo “
”;

echo “
”;



echo “”;



getclasse.php



<?php



header(“Content-type:text/xml”);

print("<?xml version=\"1.0\"?>");



include_once “…/config/config.php”;

require("…/".FUNCOES.“conecta_postgres.php”);



echo “”;

$result = executa_sql(“select rid,rdes from rclas order by rdes”);

while ($line = linha_sql($result))

     {

if ($_GET[“parent”] == $line[0])

echo ‘’.$line[1].’’;

else

echo ‘’.$line[1].’’;

}

echo “”;



?>



getespe.php



<?php



header(“Content-type:text/xml”);

print("<?xml version=\"1.0\"?>");



include_once “…/config/config.php”;

require("…/".FUNCOES.“conecta_postgres.php”);



$xcod = $_GET[“parent”];



echo “”;

$result = executa_sql(“select rid,rdes from requ,rces where requ.rid = rces.resp and rces.rclas = ‘$xcod’ order by rdes”);

while ($line = linha_sql($result))

     {

if ($_GET[“selecao”] == $line[0])

echo ‘’.$line[1].’’;

else

echo ‘’.$line[1].’’;

}

echo “”;



?>


Hello,


Please, check the server returns xml where some option contains “selected” attribute.


Also we have attached the latest “groups” extension. There some issues were fixed. Please, try to use it.


If issue still persists, please provide the example of the xml which is returned from server for the second combo.


dhtmlxcombo_group.zip (911 Bytes)

Alex

Thanks, solved the problem,