<!DOCTYPE html>
<html lang="en">
<head>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script>
function ajax_fuu (value) {
$.ajax({
url: "http://api.openweathermap.org/data/2.5/weather?q="+value+"",
success: function(data){
console.log( data );
}
});
}
ajax_fuu('London,uk');
</script>
<meta charset="UTF-8">
<title></title>
</head>
<body>
</body>
</html>