Ver Mensaje Individual
  #9 (permalink)  
Antiguo 23/10/2012, 12:14
valago
Invitado
 
Mensajes: n/a
Puntos:
Respuesta: problema paso de parametros en AJAX

Este es el codigo fuente de la página modificada, como tu me has dicho:


Código PHP:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4.  
  5.  
  6.  
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  8. <title>find</title>
  9. <link rel="stylesheet" type="text/css" href="css/index.css">
  10.  
  11.  
  12. <script type="text/javascript" src="js/jQuery-1.8.2.min.js"></script>  
  13. <script type="text/javascript" src="js/script.js"></script>  
  14. <!--script type="text/javascript" src="js/jQuery-ui-1.7.2.custom.min.js"></script-->
  15.  
  16.  
  17.  
  18.  
  19. </head>
  20.  
  21. <body>
  22.  
  23.  
  24. <div id="head">
  25.    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  26. <html xmlns="http://www.w3.org/1999/xhtml">
  27. <head>
  28. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  29. <title>Documento sin título</title>
  30. <link rel="stylesheet" type="text/css" href="css/index.css">
  31.  
  32. <script language="javascript">
  33.     function Borrar(valor)
  34.     {
  35.         if(document.getElementById("find").value==valor)
  36.         {
  37.             document.getElementById("find").value="";
  38.         }
  39.     }
  40.            
  41.     function Escribir(valor)
  42.     {
  43.         if(document.getElementById("find").value=="")
  44.         {
  45.             document.getElementById("find").value=valor;
  46.         }
  47.     }
  48.    
  49.    
  50.  
  51.    
  52.    
  53. </script>
  54. </head>
  55.  
  56. <body>
  57.  
  58.   <a href="http://192.168.1.96/insubook/close_session.php" target="_self">  <input type="text" name="Exit" class="botonTrans" style="width:40px;" value="Salir" /> </a>
  59.      
  60.     <input type="text" name="Usuario" class="botonTrans" value="Usuario: Jose">
  61.      <img src="images/insubook.gif" width="100" height="45" class="insu"  />
  62.     <a href="http://192.168.1.96/insubook/index2.php" target="_blank"><img src="images/logo.gif" width="45" height="40" alt="Insobook logo" title="Logo Insobook" class="insuLogo"/></a>
  63.  
  64.    
  65.    
  66.     <a href="#" target="_blank"> <img src="images/mensajes.png" class="icoHead" title="Messages"/></a>
  67.     <a href="http://192.168.1.96/insubook/friends.php" target="_self"> <img src="images/solicitud.png" class="icoHead" title="Your friends"/></a>
  68.     <a href="#" target="_blank"> <img src="images/notificaciones.png" class="icoHead" title="Find insurances" /></a>
  69.     <a href="#" target="_blank"> <img src="images/notificaciones.png" class="icoHead" title="Applications" /></a>
  70.     <a href="#" target="_blank"> <img src="images/notificaciones.png" class="icoHead" title="Groups" /></a>
  71.  
  72.  
  73.      
  74.    
  75. <!--input type="button" name="Inicio" class="botonTrans" value="Inicio">
  76. <input type="button" name="BuscasAmigos" class="botonTrans" value="Buscar Amigos"-->
  77.  
  78.    
  79.    
  80.     <!--input type="image" src="images/icono_buscar.gif" width="25" height="30" class="busHeadIco">
  81.     <input name="buscar" type="text" class="busHead" value="Search" size="40"/-->
  82.    
  83.    
  84.    
  85.   <form name="finds" action="find.php" method="post">
  86.     <input id="find" name="find" type="text" class="busHead"  value="Busca personas, lugares y cosas" onfocus="Borrar('Busca personas, lugares y cosas')" onblur="Escribir('Busca personas, lugares y cosas')" size="40"/>    
  87.   </form>
  88.  
  89.  
  90.  
  91.   </body>
  92. </html></div>
  93.  
  94.    
  95.  <div id="home">
  96.     <div class="colIzq">
  97.         <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  98. <html xmlns="http://www.w3.org/1999/xhtml">
  99. <head>
  100. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  101. <title>Documento sin título</title>
  102. </head>
  103.  
  104. <body>
  105.     <a href="#" target="_blank"> <img src="images/solicitud.png" class="icoHead" title="menu1" /></a> <br />
  106.     <a href="#" target="_blank"> <img src="images/solicitud.png" class="icoHead" title="menu2" /></a> <br />
  107.     <a href="#" target="_blank"> <img src="images/solicitud.png" class="icoHead" title="menu3" /></a> <br />
  108. </body>
  109. </html>    </div>
  110.    
  111.     <div class="colCen">
  112.    
  113.              <div class="tabla">
  114.                       <div class="fila">  
  115.              
  116.  
  117.              
  118.                 <div class="findPhotoCol"> 
  119.                             <img src="./0x0/NoDisponible.jpg" width="130" height="130" />
  120.                 </div>
  121.                 <div class="findDateCol">
  122.         <div class="findName">android android</div><div class="findDate">android@insubook.com<br><br><br><br><br></div>                 </div>
  123.              
  124.                              <input type="text" value="29ddbdb402" name="a_29ddbdb402" id="a_29ddbdb402"/>
  125.      
  126.                 <button type="button" onClick="votar(a_29ddbdb402)">Solicitud de amistad</button>
  127.                
  128.                  </div>
  129.                   <div class="fila">  
  130.              
  131.  
  132.              
  133.                 <div class="findPhotoCol"> 
  134.                             <img src="./0x0/NoDisponible.jpg" width="130" height="130" />
  135.                 </div>
  136.                 <div class="findDateCol">
  137.         <div class="findName">esther martinez</div><div class="findDate">mesther2@gmail.com<br><br><br><br><br></div>                   </div>
  138.              
  139.                              <input type="text" value="f51cf26546" name="a_f51cf26546" id="a_f51cf26546"/>
  140.      
  141.                 <button type="button" onClick="votar(a_f51cf26546)">Solicitud de amistad</button>
  142.                
  143.                  </div>
  144.         </div> 
  145.    
  146.  
  147.  
  148.  
  149.  
  150.  
  151.     </div>
  152.    
  153.     <div class="colDer">
  154.            
  155. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  156. <html xmlns="http://www.w3.org/1999/xhtml">
  157. <head>
  158.  
  159.  
  160. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  161. <link rel="stylesheet" type="text/css" href="css/index.css">
  162. <title>Documento sin título</title>
  163. </head>
  164.  
  165. <body>
  166.  
  167.  
  168.     <img src="./0x0/NoDisponible.jpg" width="150" height="150" />
  169.  
  170.  
  171.  
  172.  
  173. </body>
  174. </html>
  175.  
  176.  
  177.      </div>
  178. </div>     
  179.  
  180. </body>
  181.  
  182. </html>