My javascript code below is running when the page is loaded. Updatepanel doesn't work when there is asyncpostback. I have tried many ways but without success.
HTML
<a onclick="direkyok()">MenĂ¼</a>
Javascript:
<script>
$(document).ready(function direkyok() {
$("body").toggleClass("mini-navbar mini-body");
});
C# Page Load
ScriptManager.RegisterStartupScript(this, typeof(Page),
"direkyok", "direkyok();", true);