mvc3prject.common.GetData('url', para, null, Fieldslist, null);
please explain your function definition.
in your ajax get you need to set async: false,
$.ajax({
async: false,
success: function(jsonData) {
isLoggedIn = jsonData.LoggedIn
}
});
also used
var request = $.ajax({
url: "script.php",
type: "GET",
dataType: "html"
});
request.done(function( msg ) {
$( "#log" ).html( msg );
});
thanks