<pre lang="Javascript">
jQuary Code setInterval(function () { $("#accordion").accordion(); getIBtrade(); }, 5000); 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'); } }); } $(document).ready(function () { $("#accordion").accordion(); getIBtrade(); getTotal(); //$("body").css("overflow", "hidden"); $("#accordion").msAccordion({ defaultid: 0, autodelay: 4 }); }); html Code <div id="accordion">
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)