Hi,
Why this code not is ok?

-----8<-------------------
$(document).ready(function(){
    $(".button").click(function(){
          $.ajax({
                     url: "ejemplo.html",
                     success: function(datos){
                          alert(datos);
                          }
                    });
         });

    });
----->8------------------


When y click en Button it not show "datos".

thank“s

Reply via email to