Tabbar.setContentHref url size limitation

Is there a way to do a post via “hidden” form and target the response to one of the tabs in our tabbar? We are concerned about the setContentHref call since there is a url limitation. We may need to pass a lot more data than the browser supports via a get.



The only possible solution I found that may work is:

using AJAX do a Post of a “hidden” form with the hidden form fields

Then in the callback from the post call tabbar.setContentHTML with the html response.



Will this work? Or is there a better way?



thanks,

carmine


The solution, that you’ve found, is really good and the most appropriate in this case.


You can use dhtmlxAjax component:


dhtmlxAjax.post(url,“param1=value&param2=value&…”,outputResponse);


function outputResponse(loader){
if(loader.xmlDoc.responseXML!=null)
tabbar.setContentHTML(tabId,loader.doSerialization());
}