Multiple Variable in Ajax
<p>I am trying to send 2 variable from my comobox but is does not work, it only works when I send 1 here is the ajax code:</p>

<pre><code>$(document).ready(function()
{
$(".clase").hide();
$(".ruta").change(function(){
var id=$(".rutas").val();
var dataString = 'id='+ id;
$.ajax
({
type: "POST",
url: "asientos.php",
data: dataString,
cache: false,
success: function(html)
{
        $(".clase").show();
       $(".clase").change(function(){
      var id=$(".rutas").val();
      var cla=$(".clase").val();
      var dataString = 'id='+ id;
     var data = 'cla'+ cla;
$.ajax
  ({
          type: "POST",
          url: "asientos.php",
          data: dataString,data,
         cache: false,
         success: function(html)
{
        $(".asientos").html(html);
}
           });
        });
       }
    }); 
  });
});
</code></pre>

<p>Now here is my html only showing the combo part cause i have multiple components in the form </p>

<pre><code>&lt;label class="ruta"&gt;Rutas &lt;/label&gt; &lt;select name="rutas" id="rutas" class="rutas" &gt;
&lt;?php   include 'rutas.php';   ?&gt;
&lt;/select&gt;
&lt;label class="clase"&gt;Clases &lt;/label&gt;&lt;select name="clase" id="clase" class="clase"&gt;
&lt;option value="A"&gt;Clase Ejecutiva&lt;/option&gt;;
&lt;option value="B"&gt;Clase Media&lt;/option&gt;;
&lt;option value="C"&gt;Clase Economico&lt;/option&gt;;
&lt;/select&gt;
</code></pre>

<p>In the first combo I am Retrieving data from database and the second combo I inputted the data, now i need that both values from each combo save to the variables I have in my Php file in order to fill the third combo.</p>