You are on page 1of 1

//Property_Datas = loginSuccessResponseJS.ShowPropertyResult; //alert(Property_Datas); //Property=jQuery.parseJSON(Property_Datas); //PropertyDetails= Property.PropertyDetails; alert(PropertyDetails); var Property_str = ""; var co=0; $.each(Property_Datas,function(index,item) { alert(item.

PropertyId); co++; }); alert(co); /* Property_str='<p>' + "Renter Type :" + Property.RenterType + '</p> + '<p>' + "State :" + Property.StateName + '</p> + '<p>' + "City :" + Property.CityName + '</p> + '<p>' + "Floor Rent :" + Property.FloorRent + '</p> $.each(Property, function(index,item) { var id= item.PropertyId ; Property_str = Property_str + '<li><a id="' + id + '" href="#"><img class="ui-li-icon" src="h ttp://www.hpadesign.com/img/photos525/200029004.jpg" />' + item.Address + '</a>' + '<p>' '<p>' '<p>' '<p>' + + + + "Renter Type "State :" + "City :" + "Floor Rent :" + item.RenterType + '</p> + item.StateName + '</p> + item.CityName + '</p> + :" + item.FloorRent + '</p> +

'</li>'; }); */ alert(Property_str); $('#property_details').html(''); $('#property_details').append(Property_str); $('#property_details').listview('refresh');

You might also like