Can't make this work : <p>How can i change variable value?, i tried using "Promises" but it doesn't work it gaves me an error, i'm trying to load a data on a  table</p>

<pre><code>                /* Formating function for row details */
                function fnFormatDetails(oTable, nTr) {
                    var aData = oTable.fnGetData(nTr);
                    var sOut ='';
                    $.post("http://localhost:3000/almuerzo/findIng", {
                            nombre: aData[1]},
                        function(data, status){
                            sOut = '&lt;ul&gt;';
                            sOut += data.nombre;
                            sOut += '&lt;/ul&gt;';
                        });                    
                        return sOut;
                }
</code></pre>

<p>As i said when i try to use promises de "datable.tabletools plugin" fails, said that there's an error on "show"</p>
