Ver Mensaje Individual
  #11 (permalink)  
Antiguo 28/08/2008, 08:44
Rockzilla
 
Fecha de Ingreso: julio-2008
Mensajes: 129
Antigüedad: 15 años, 10 meses
Puntos: 0
Respuesta: Problemas con el proceso combobox

te soy sincero no entiendo ese ajax y si hay un metodo de llamar esas informacion a travez de un combobox sin necesidad de el ajax este era un codigo donde si me cargaba la informacion pero me lo llama de una caja de texto este es el codigo esta perfecto
Código PHP:
<?php include("principal.php"?>
 <?php
include ('connection1.php');
$tarea $_POST['tarea'];
$query="select * from actividades where tarea ='$tarea'";
$bus mysql_query($query,$link) or die("Error en query $query:" .mysql_error());
$row mysql_fetch_array($bus);
?><table width="674" height="30" align="center">
      <tr bgcolor="#CCCCCC" class="Estilo1">
        <td width="90">Cod Tarea </td>
        <td width="87" height="24">
<form name="form1" method="post" action="actiusuario.php">
<input name="tarea" type="text" id="tarea">
<input name="bus" type="submit" id="bus" value="Buscar">
</form>
    <label>
    </label>
    &nbsp;</td>
        <td width="481" bgcolor="#FFFFFF">&nbsp;</td>
      </tr>

    <table width="23" height="26" align="center">
      <tr bgcolor="#CCCCCC" class="Estilo1">
        <td width="15" height="20" bgcolor="#FFFFFF" class="pi">&nbsp;</td>
      </tr>
    </table>
    <table width="533" border="0" align="center">
      <tr>
        <th width="555" height="572" scope="col"><table width="513" height="73" align="center">
            <tr bgcolor="#CCCCCC" class="Estilo1">
              <td width="253"><div align="center">Sistema de Monitoreo y Evaluaci&oacute;n </div></td>
              <td width="124"><div align="center"></div>                <div align="center">Dependencia</div></td>
              <td width="120">            <div align="center">
                <input name=total disabled="disabled" value="<?php echo $row {'dependencia'?>" size=5>
              </div></td></tr>
          </table>
            <table width="514" height="31" align="center">
              <tr bgcolor="#CCCCCC" class="Estilo1">
                <td width="191">Nombre de la Tarea </td>
                <td width="311" height="50"><textarea cols="45" disabled="disabled"> <?php echo $row {'actividad'?> </textarea></td>
                
                                                
              </tr>
          </table>
          <table width="515" height="164" align="center">
              <tr bgcolor="#CCCCCC" class="Estilo1">
                <td width="218">Fecha de inicio </td>
                <td width="184" height="28"><p><!-- ggPosX and ggPosY not set, so popup will autolocate to the right of the graphic -->
                    <?php echo $row {'f_i'?></p></td>
                    
                    
                <td width="97" rowspan="6" nowrap bordercolor="#FFFFFF">&nbsp;</td>
              </tr>
              <tr bgcolor="#CCCCCC" class="Estilo1">
                <td>Fecha de final </td>
                <td height="24"><!-- ggPosX and ggPosY not set, so popup will autolocate to the right of the graphic --><!-- ggPosX and ggPosY not set, so popup will autolocate to the right of the graphic -->
                  <a href="javascript:show_calendar('form1.f_f');" onMouseOver="window.status='Elige fecha'; overlib('Pulsa para elegir fecha del mes actual en el calendario del Sistema de Monitoreo.'); return true;" onMouseOut="window.status=''; nd(); return true;"><?php echo $row {'f_r'?></a></td>
              </tr>
              <tr bgcolor="#CCCCCC" class="Estilo1">
                <td>Fecha real de culminaci&oacute;n</td>
                <td height="24"><!-- ggPosX and ggPosY not set, so popup will autolocate to the right of the graphic -->
                  <a href="javascript:show_calendar('form1.f_r');" onMouseOver="window.status='Elige fecha'; overlib('Pulsa para elegir fecha del mes actual en el calendario del Sistema de Monitoreo.'); return true;" onMouseOut="window.status=''; nd(); return true;"><?php echo $row {'f_r'?></a></td>
              </tr>
              <tr bgcolor="#CCCCCC" class="Estilo1">
                <td>Monto de la actividad </td>
                <td height="24"><?php echo $row {'monto'?></td>
              </tr>
              <tr bgcolor="#CCCCCC" class="Estilo1">
                <td>Trimestre a Ejecutar </td>
                <td height="24"><?php echo $row {'trimestre'?></td>
              </tr>
              <tr bgcolor="#CCCCCC" class="Estilo1">
              

              
              
                <td>Unidad de medida: </td>
                <td height="24"><div align="center">
                  <input name=total disabled="disabled" value="<?php echo $row {'unidad'?>" size=30>
                </div></td>
              </tr>
          </table>
          <p>
de igual manera lo voy a intentar