E viết 1 modul tỉ giá thời tiết lấy theo vnexpress chạy trên vs ok nhưng e tạo 1 webpart trong sharepoint và gọi nó thì nó ko hiển thị mà báo lỗi
Code:
Unable to connect to the remote server
ai biết tại sao lại lỗi thế này cho e biết với!
Code file .Js
Code:
function retWeather()
{
var ComboValue =document.getElementById("idCity").options[document.getElementById("idCity").selectedIndex].value;
var retValue = _Default.Thoitiet(ComboValue).value;
document.getElementById("ketqua").innerHTML=retValue;
}
$(document).ready(function(){
$("a.tab").click(function () {
$(".active").removeClass("active");
$(this).addClass("active");
$(".content").slideUp();
var content_show = $(this).attr("title");
$("#"+content_show).slideDown();
});
});
Code file .cs ở file đính kèm
Ai có modul lấy thông tin thời tiết khác không share e với! các địa điểm đc chọn từ combobox rồi hiện lên thời tiết nơi đc chọn, và phần tỉ giá nữa! thanks cái code e post là lấy thông tin từ vnexpress