<script type="text/javascript>
function loadmemberg(m)
{
$.ajax({
type : "POST",
url : "details.php",
data : {gvalue:m},
success: function(data){
var obj = $.parseJSON(data);
$('#name').val(obj[0].FullName);
$('#place').val(obj[0].PlaceName);
var obj="";
},
error: function(data){
alert("Please Enter a valid details");
}
});
}
</script>
<html>
<div><input type="text" id="name"/></div>
<div><input type="text" id="place"/></div>
<div><img src="" id="image"></div>
</html>
This is my code and i want to get my image filename from the json object and display it in the html How can i do it...?