I just can't get the results from jquery.get() function and can't figure out why.
Here's the code:
$('#some_button').live('click', function (e){
var nr="some_number";
var id="some_id";
$.get('http://www.somelink.com',{PAGE_ID: id, nr: nr}, function(data) {
alert(data);
});
});
So, when I click the button, HTTP request is sent and after 10 seconds I get the reply and the result that I need with HTTP 200 OK (I used wireshark), but the data is not alerted back to the browser.
Any ideas why?
BR, Newman