Saturday, May 30, 2009

[jQuery] $.post form don't post

I have the following select:

<select name="ListaCliente" id="ListaCliente" title="$row_RSCliente
['CodCliente']">
<option value="4">ABA</option>
<option value="1">CARLOS</option>
<option value="3">LUIZ</option>
<option value="2">SILVIO</option>
</select>

and may

and my post is this:
$.post('teste.php',
[$("#ListaCliente option:selected")],
function(data){
$('#ResultEsq').show();
$('#AtriEsq').show();
$('#ResultEsq').empty().html(data);
}
);

});

but the destination is not enough any value:

$_POST (array)
undefined undefined


for better understanding, I see that the files:

http://www.4shared.com/file/108741536/64cd3f34/btest.html

No comments: