Ver Mensaje Individual
  #15 (permalink)  
Antiguo 31/01/2013, 15:34
Montes28
 
Fecha de Ingreso: septiembre-2010
Mensajes: 1.853
Antigüedad: 13 años, 6 meses
Puntos: 6
Respuesta: X-editable leer valores desde base de datos

Carlangueitor gracias por responder .

segun lo que me indicas deberia de quitar type:json la respuesta es el formato json te voy a mostar con lo estoy trabajando hice lo que me indicaste y no funciona , ya instale chrome y no veo ningun error .

<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap-editable.css" rel="stylesheet">
<link href="css/address.css" rel="stylesheet">

<script src="js/jquery-1.8.2.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-editable.min.js"></script>
<script src="js/bootstrap-tabs.js"></script>
<script src="js/ovsm.js"></script>

<script src="js/address.js"></script>
<script src="js/html5types.js"></script>

Código Javascript:
Ver original
  1. <script>
  2. $(document).ready(function() {
  3.  
  4. $.ajax({
  5.    url: "prueba.php",
  6.    dataType: 'json',
  7.    sucess: function(resultado){
  8.         $('.address').editable({
  9.             url: 'multiples.php',
  10.             title: 'Enter city, street and building #',
  11.             value:resultado
  12.         });
  13.    }
  14. }),
  15. });
  16.  
  17.  
  18.  
  19.  
  20. </script>

Código HTML:
Ver original
  1. <a href="#" class="address" data-type="address" data-pk="1">awesome 2 </a>