2013-11-21 39 views
0

我使用Joomla 3 Crosstec內容生成擴展,我創建了弗朗高端用戶的列表視圖,它的工作順利,沒有任何問題:獲取ContentBuilder列表視圖通過Ajax請求

http://epc.aratech.co/index.php/en/?option=com_contentbuilder&view=list&id=6 

我想通過Ajax請求獲取擴展結果,而不是完整的網站,但我無法找到正確的URL來實現此行爲。

我試過很多的東西,包括:

http://epc.aratech.co/index.php/en/?option=com_contentbuilder&view=list&id=6&format=raw 
http://epc.aratech.co/index.php/en/?option=com_contentbuilder&view=ajax&id=6 

我希望有能幫助我。

編輯:

jQuery.ajax({ 
    type: "GET", 
    url: "http://epc.aratech.co/index.php/en/?option=com_contentbuilder&view=list&id=6&format=raw", 
    success: function (msg) { 
     alert(msg); 
    } 
}); 
+0

您可以爲您的Ajax請求的代碼的網址是什麼? – Lodder

+0

我用jQuery使用簡單的ajax請求 – Saleh

+0

是的,我收集了這個,但顯示它的代碼 – Lodder

回答

1

如果您想要只載入組件的HTML內容添加到tmpl=component

http://epc.aratech.co/index.php/en/?option=com_contentbuilder&view=list&id=6&tmpl=component