Advertisement
freddy0512

jake

Aug 14th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.57 KB | None | 0 0
  1. //in my simple projects running well but in whole projects it can't how can i see the errors here i use this script to see but nothing
  2.  
  3. /*
  4.   success:function(data){
  5.         console.log(data);
  6.     },
  7.     error:function(data){
  8.         console.log(data);
  9.     }
  10. */
  11.  
  12.  
  13. $(document).ready( function() {
  14.     //if all href click
  15.     $("a[href]").click(function(){
  16.         //functin spefisik if click href by get id
  17.         if($(this).attr("id")=="s3"){
  18.             $.ajax({
  19.             url: "web/pusparagam",
  20.             success: function(result){
  21.                 $("#change-content").html(result);
  22.             }});
  23.         }
  24. });
  25.    
  26. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement