have the following code:
$(document).ready(function() {
$.get("https://www.somesite.com/Securepay/Return.aspx, function(data) {
alert(data);
$("#result").html(data);
});
});
the above code does not return the html. Does anyone have a solution? thanks
What do you mean by not returning the HTML Code? If you mean that the alert displays the HTML Code, but the #result item doesn't, try changing the .html( to .text(
There's a " missing after the url:
$(document).ready(function() {
$.get("https://www.somesite.com/Securepay/Return.aspx", function(data) {
alert(data);
$("#result").html(data);
});
});