Jump to content
php.lv forumi
Sign in to follow this  
InTrance

errors.. ajaxā..

Recommended Posts

Saskāros ar problēmu.. reizi 3 sekundēs kodam jātjauno ir divs, šajā variantā tikai teksts..

uz local vis strādā, bet uz servera sākas problēmas..

 

met: [object Object]error[object Error]

 

      	function Fgg(){       
           	$.ajax({
            	type: "POST",
           	url: "page1.php",
               	cache: false,
               	dataType: "html",   

               	success: function(html){
                   	$("#life2").html(html);
               	},
               	error: function(h1, h2, h3){
                   	$("#life2").html(h1+h2+h3);
               	}
           	}); 
           	}
setInterval("Fgg();",3000);

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...