<pre lang="HTML"><div id="accordion" runat="server"> </div>
<script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script> setInterval(function () { getTotal(); $("#accordion").accordion(); $("#accordion").accordion({ active: $(".defaultOpen") }); getIBtrade(); //scrollCallback(); }, 1000); <pre lang="JavaScript">function getIBtrade() { var id = document.getElementById("hdibid").value; //alert('Hi'); $.ajax({ type: "POST", url: "Home.aspx/GetData", data: "{IBid:" + parseInt(id) + "}", contentType: "application/json; charset=utf-8", dataType: "json", success: function (response) { var list = document.getElementById("accordion"); list.innerHTML = response.d; $("#accordion").accordion("destroy"); $("#accordion").accordion(); //alert('hii'); } }); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)