This is my server side output
[{"Id":"1","Username":"kamesh","Password":"kamesh","Email":"[email protected]","Employeeid":"hankamesh","Phonenumber":""}]
Now i am trying to access this Username and Password from my localhost using myhtml file. mylocal.html
$.ajax({
url:"XXXX?callback=?",
type:'GET',
dataType:'json',
success:function(output){
alert("working");
$.each(output,function(key,value){
$('#result').append('<p>Row '+key+' : UserName '+value.Username+'Password'+value.Password+'</p><br>');
});
}
});
});
I do not know whether it is correct or not. can anyone guide me please ..thanks in advance