I can't see the reason to not

----- Original Message ----- From: "gigamike" <mikpogi...@gmail.com>
To: "jQuery (English)" <jquery-en@googlegroups.com>
Sent: Wednesday, June 24, 2009 1:58 AM
Subject: [jQuery] jquery ajax



Hi,

Is it possible to call a http url for ajax query i.e.

$(document).ready(function(){
$.ajax({
   type: "GET",
   url: "http://www.domain.com/mypage.php";,
   data: "site_id=" + site_id,
   success: function(tags){
$("<div id=\"popdiv\">" + tags + "</div>").appendTo("body");
   }
});
});

Seems like url: "http://www.domain.com/mypage.php";, is not allowed coz
it doesnt echo/display any coming from http://www.domain.com/mypage.php

Thanks in advance,

Mike

Reply via email to