Hi I am trying to get item from content type using your below link
http://www.c-sharpcorner.com/UploadFile/93cb27/get-search-results-in-sharepoint-hosted-app-using-javascript/
So far i got the some result but can you explain more how to bind that result on div i have some more property on that.

Prasham SabadraRank #116 · 19.3K reputationPosted Feb 14, 2015, 6:41 PM EST
Please have take look once on this articl also - http://blogs.perficient.com/microsoft/2014/01/sharepoint-2013-search-javascript-csom-primer/
nice one :)
Prasham SabadraRank #116 · 19.3K reputationPosted Feb 9, 2015, 7:40 PM EST
Please check following link once
http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2013/04/09/how-to-query-sharepoint-2013-using-rest-and-javascript.aspx
I hope you will get the answer.
Please let me know if you have more query.
Thanks!
DEV MJ48 reputationPosted Feb 10, 2015, 4:16 AM EST
Prasham SabadraRank #116 · 19.3K reputationPosted Feb 10, 2015, 9:02 PM EST
ok. Please have sample code like
function onQuerySuccess()
{
$("#resultsDiv").append('
$.each(results.m_value.ResultTables[0].ResultRows, function () {
$("#resultsDiv").append('
$("#resultsDiv").append('
$("#resultsDiv").append('
$("#resultsDiv").append('
$("#resultsDiv").append('
$("#resultsDiv").append('
$("#resultsDiv").append('
}
Reference : https://code.msdn.microsoft.com/Query-Search-with-the-649f1bc1/sourcecode?fileId=65976&pathId=912880959
One more reference where all the types of APIs are listed, nice article, please have a look once : https://msdn.microsoft.com/en-us/library/office/dn423226.aspx
Please let me know if in case any trouble :)
DEV MJ48 reputationPosted Feb 14, 2015, 11:00 AM EST
Prasham SabadraRank #116 · 19.3K reputationPosted Feb 14, 2015, 6:36 PM EST
Glad to know, code worked for you :)
Please set the "SelectProperties" of KeywordQuery class.
Please have a look once at https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.search.query.keywordquery.selectproperties.aspx