Hi everyone! I have 2 painels in my Accordion. One has a form and the other has a flexigrid showing me all data.
What I needed is when I save data to database via $ajax, I change the form painel to the flexigrid painel, but so far I haven't been successful. this is what I'm doing: $("#btnAdicionarParametro").click(function() { $.ajax({ type: 'POST', data: $("#frm").serialize(), url: '/SuperAdmin/SalvaParametro', success: function() { gridParametros.flexReload(); $(function() { $("#accordion").accordion({ header: "h3", alwaysOpen: false, active: "#flexDiv", autoHeight: false, fillSpace: false }); }); } }) }); Thanks!!!