parent
b8df218b79
commit
10f2958652
6 changed files with 50 additions and 29 deletions
@ -0,0 +1,15 @@ |
||||
$(document).ready(function(){ |
||||
$("input:checkbox[name='europa'] ").click(function(){ |
||||
if ($(this).is(':checked')){ |
||||
$.get( |
||||
"/service/get_city/", |
||||
{'id': $(this).val()}, |
||||
function(j){ |
||||
console.log(j); |
||||
}); |
||||
} |
||||
else{ |
||||
console.log('false'); |
||||
} |
||||
}) |
||||
}); |
||||
Loading…
Reference in new issue