Past the value of the combobox

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:



  1.         $('#form_vendedores', tab_corrente).ajaxForm({
                beforeSubmit : function() {
                    msgCarregando();
                },
                data: {
                    tipo: 'consulta',
                    nomeVendedor: $('#form_vendedores select[name=codmaq] option:selected').text()
                },
                target: div_parametros
            });










HTML:

  1.     <div id="div_vendedores">
        <form id="form_vendedores" action="<?=$this->request?>" method="POST">
            <?= $this->formvendedores; ?>
        </form>
        </div>





What's wrong ?