Hi
Question regarding linked combo’s
When i call php script with hardcoded the parent
like title.php?parent=dolly dots it’gives me the right xml file
But i can’t figgur out how to do it from the first combo.
My code
<body onload="doOnLoad()">
<div class="content">
<link rel="STYLESHEET" type="text/css" href="dhtmlxcombo.css">
<script src="dhtmlxcommon.js"></script>
<script src="dhtmlxcombo.js"></script>
<script src="dhtmlxcombo_group.js"></script>
<script>function doOnLoad() {
var z2 = new dhtmlXCombo("selectartist", "artist", 200);
var z = new dhtmlXCombo("selecttitle", "title", 200 );
z2.enableFilteringMode(true, "artist.php", true);
z.enableFilteringMode(true, "title.php" , true);
}</script>
<div id="selectartist" style="width:100px; height:30px;"></div>
<div id="selecttitle" style="width:100px; height:30px;"></div>
</div>
i’ve tryed some like childcombo like
z.attachChildCombo(z2,"title.php");
That didn’t work.
url of test :
radiosoundfm.dyndns.org/combo/combo.html
What i want is
Type in artist with autocompleet (works)
after selcting artist, type in with autocompleet and also a dropdown with allready values in it.