Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/06/2009, 01:37
matak
 
Fecha de Ingreso: julio-2008
Ubicación: Alcañiz-Teruel-España
Mensajes: 182
Antigüedad: 15 años, 10 meses
Puntos: 5
Respuesta: pasar parametros con ajax a php

prueba ha declarar el form asi:

Código html:
Ver original
  1. <form  id="form_izq" method:"POST" onsubmit="FAjax('imagengrafica.php','graficai','campo='+document.getElementById('select3').options[document.getElementById('select3').selectedIndex].value+'&amp;mes='+document.getElementById('select1').options[document.getElementById('select1').selectedIndex].value+'&amp;tip_presu='+document.getElementById('select2').options[document.getElementById('select2').selectedIndex].value,'POST')">

Aunque creo que asi bastaría

Código html:
Ver original
  1. <form  id="form_izq" method:"POST" onsubmit="FAjax('imagengrafica.php','graficai','campo='+document.getElementById('select3').value+'&amp;mes='+document.getElementById('select1').value+'&amp;tip_presu='+document.getElementById('select2').value,'POST')">

Saludos,
__________________
Si quieres puedes y si puedes debes. Imposible is nothing!!!