<table>
                <tr>
                    <td>
                        Departamento
                    </td>
                    <td>
                        <select name="departamento" id="selDepartamento" 
                                onchange="listarMunicipio(formularioSelect);">
                            <option id="-1">Seleccione opcion</option>
                            <?php 
require 'Modelo/General.php';
require 'DAO/generalDAO.php';
$depto = new General("", "");
$dao = new generalDAO(1);
$dao->listarDepartamento($depto);
?>
                        </select>
                    </td>
                </tr>

                <tr>
                    <td>
                        Municipio
                    </td>
                    <td>
                        <select id="selMunicipio">
                            <option id="-1">Seleccione opcion</option>

                            <?php 
if (isset($_REQUEST['contenidoSel'])) {
<?php

require '../Modelo/clsGeneral.php';
require '../DAO/generalDAO.php';
isset($_REQUEST['id']) ? $id = $_REQUEST['id'] : ($id = "");
isset($_REQUEST['type']) ? $accion = $_REQUEST['type'] : ($accion = "");
$select = new clsGeneral($id);
$dao = new generalDAO();
switch ($accion) {
    case "departamento":
        $dao->listarDepartamento();
        break;
    case "municipio":
        $dao->listarMunicipio($select);
        break;
}