I’ve got a javascript function I created. Somewhere in that function, this line is called:
var divContent = getDataAsyncHtml(dialogDiv.attr("winHref"));
I’m not sure why the .ajax is not being invoked once it hits my getDataAsyncHtml function. Do I need a function() ?
function getDataAsynHtml(urlWithContent)
{
alert("urlWithContent: " + urlWithContent);
// jQuery async request
$.ajax(
{
url: urlWithContent,
success: function(data) {
return $('.result').html(data);
alert('Load was performed.');
}
});
}
Add an error function to see if you are just not getting a success returned.