Hello Panos,
I tried to find documentation, but the only that I found was about form elements, that's why I went througout reading all posts here to solve me problem.
Unfortunatelly, still no luck to make it working. A copy of the full code is below:
<body>
<script src="prototype.js" type="text/javascript"></script>
<h2><a href="http://www.salix.gr/ajax_linked_selectboxes">Salix.gr - Ajax Linked Select boxes Demo</a></h2>
<?php
include("top_script.php");
include("sc_classes.php");
$sc_ajax_select_boxes = new sc_ajax_select_boxes();
$sc_ajax_select_boxes->xml_encoding='ISO-8859-1'; // use this property if you need other encoding than latin
$sc_ajax_select_boxes->add_select_box('vb_travel_categories', 'id', 'name', 'displayorder', '', 'sel1', 'sel_id_1', '', '', 'PSelect');
$sc_ajax_select_boxes->add_select_box('vb_travel_subcategories', 'id', 'name', 'displayorder', '', 'sel2', 'sel_id_2', '', '', 'PSelect');
$sc_ajax_select_boxes->add_select_box('vb_travel_thirdcategories', 'id', 'name', 'displayorder', '', 'sel3', 'sel_id_3', '', '', 'PSelect');
$sc_ajax_select_boxes->link_select_boxes('sel1','sel2', 'categoryid','');
$sc_ajax_select_boxes->link_select_boxes('sel2','sel3', 'subcategoryid','');
$sc_ajax_select_boxes->place_jscripts();
$sc_ajax_select_boxes->show_select_box('sel1');
$sc_ajax_select_boxes->show_select_box('sel2');
$sc_ajax_select_boxes->show_select_box('sel3');
?>
<div id="dump_area"></div>
</body>
and the link to check it, is: [
www.vbtraveladvisor.com]
Thank you
Maria