Sent from my iPhone
On May 31, 2009, at 10:16 AM, mar4eva mar4eva <mar4...@gmail.com> wrote:
var value = $('#ListaCliente).val();
$.post("teste.php", { selectvalue: ""+value});
2009/5/30, _zeh_ <lcpgbra...@gmail.com>:
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