I have no idea what\'s going on here and was hoping someone could help, I\'m sure it\'s something easy going on that I\'m just missing.
I have a function in javascri
Try this
function GetTotalSize(callback) { $.post("Handlers/GetTotal.ashx", {id : $("#hID").val()}, function(outputData) { callback(outputData); }); } function DoSomething(data) { //.... } GetTotalSize(DoSomething);