Guest User

Untitled

a guest
Oct 19th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2.  
  3.         $(document).ready(function () {
  4.             $("#boton").click(function (e) {
  5.                 e.preventDefault();
  6.                   $("#lineas").toggle("slow");
  7.             });
  8.  
  9.           });
  10.         $(document).ready(function () {
  11.         $("#Button1").click(function(e) {
  12.  
  13.            
  14.             $.ajax({
  15.               url: 'Handler.ashx',
  16.               data: { variable: "Hola"},
  17. '
  18.               success: function(data) {
  19.                
  20.                 alert('Datos devueltos: ' + data);
  21.               }
  22.             });
  23.         });
  24.    
  25.     });
  26.  
  27. </script>
Add Comment
Please, Sign In to add comment