Place the jQuery code inside pageLoad instead of $(document).ready(), inside pageLoad is executed after every postback, synchronous or asynchronous. pageLoad is a reserved function name in ASP.NET AJAX that is for this purpose. $(document).ready() on the other hand, is executed only once, when the DOM is initially ready/loaded.
function pageLoad(sender, args) {
...
}
Javascript files will be inside
Collapse | Copy Code
<head> .... </head> use like this and the functionality insite the PageLoad can be anything as your require.
See the sample code below.
Collapse | Copy Code
<head runat="server">
<script type="text/javascript" language="javascript">
function pageLoad(sender, args) {
alert("Please enter your specific codes below...");
}
</script>
</head>