Is there another way to get a function from another page? My code:
function getvoucher(id){
var url="http://inactive/test.php?id=" + id;
$.get(url, function(data,status){
retu data;
However, the console tells me that my get method is wrong, is there another way I could do this?
