Past the value of the combobox
Hi this is my first post.
My problem is when i'm using a combobox html and submit the text and the value. So the past values are the values of the previous request.
Request:
- $('#form_vendedores', tab_corrente).ajaxForm({
beforeSubmit : function() {
msgCarregando();
},
data: {
tipo: 'consulta',
nomeVendedor: $('#form_vendedores select[name=codmaq] option:selected').text()
},
target: div_parametros
});
HTML:
- <div id="div_vendedores">
<form id="form_vendedores" action="<?=$this->request?>" method="POST">
<?= $this->formvendedores; ?>
</form>
</div>
What's wrong ?