$('#Domain_ID').focusout(function () {
$.ajax({
type: 'GET',
url: 'https://localhost:44364/api/v1/AdSearch?userId=rdanne1',
dataType: 'json',
error: function (xhr) {
alert("An error occured: " + xhr.status + " " + xhr.statusCode);
},
success: function (data) {
if (data) {
$('#Domain_ID').val(data.lanId);
$("#Name").val(data.name);
$("#Email").val(data.email);
}
}
});
});
This blog shares my journey as a software engineer, along with personal reviews and life experiences I’ve gained along the way. “I have not failed. I've just found 10,000 ways that won't work.” — Thomas Edison. If you enjoy my content, please support it by clicking on ads (free for you, big help for me!) or by buying me a coffee on Ko-fi. Thank you!
Subscribe to:
Post Comments (Atom)
How to Dual Boot Linux and Windows Safely
Understanding Dual Booting: An Overview What is Dual Booting? Dual booting refers to the process of installing two operating systems on ...
-
How to clear SharePoint People Picker suggestion cache If you have been SharePoint Site owner long enough, you would have definitely ...
-
Getting the following error (Figure 1): Server Error in '/' Application. ID4014: A SecurityTokenHandler is not registered to ...
-
The problem was that the remote connection needed to utilize Named Pipes, but in order to utilize Named Pipes both the machine hosting the i...
No comments:
Post a Comment