Ver Mensaje Individual
  #1 (permalink)  
Antiguo 29/11/2006, 07:55
Avatar de Chuty
Chuty
 
Fecha de Ingreso: noviembre-2002
Ubicación: el bar de la esquina
Mensajes: 609
Antigüedad: 22 años, 4 meses
Puntos: 2
como tomar las variables

Buenas a todos:
Tengo la siguiente consulta con este codigo

el tema es que tengo que concatenar los datos ingresados en los tres campos a los cuales les ingreso un numero, y enviarlo a la function Transactor del javascript como por ejemplo

lrc = sgfconw3_call('001 0002 0003','mensaje');

Código PHP:
<html>
 <
head>
  <
title></title>

  <
SCRIPT LANGUAGE="javascript1.2" src="sgfconw3_call.js"></SCRIPT>

  <SCRIPT LANGUAGE="javascript1.2">
    function Transactor() {
    var lrc;
    lrc = sgfconw3_call('001 0002 0003','mensaje');
   
    sgfrc.value = lrc;
    sgftxt.value = mensaje.value;
   }


   </SCRIPT>

 </head>
 <body>
 
 Campo1 :<INPUT type=text name="T1" size="20" value='001'> <br>
 Campo2 :<INPUT type=text name="T2" size="20" value='0002'><br>
 Campo3 :<INPUT type=text name="T3" size="20" value='0003'><br>
 
 
  <table width="100%">
    <td><hr></td>
   </tr>
   <tr>
    <td>
     <table width="100%">
      <tr>
       <td>001 0002 0003</td><td><input type=submit onclick="Transactor()" value="Firmas"></td>
      </tr>
      <tr>
       <td>Retorno de Transactor [+][0][-] :</td><td><input name="sgfrc" type=text value="" size=8></td>
      </tr>
      <tr>
       <td>Información Adicional Asociada a la Consulta realizada :</td><td><input name="sgftxt" type=text value="" size=64></td>
      </tr>
     </table>
    </td>
   </tr>
  </table>
 </body>
</html> 
desde ya muchas gracias y saludos a todos