I have written jQuery like below lines of code
var prmvar = window.Sys.WebForms.PageRequestManager.getInstance();
prmvar.add_endRequest(function () {
var j = jQuery.noConflict();
j(document).ready(function () {
j('#pagination').jcarousel({
});
var count = $("#pagination li").size();
if (count < 10) {
alert(count)
j(".jcarousel-prev").css('display', 'none');
j(".jcarousel-next").css('display', 'none');
}
});
});
It does not work in update panel. Please help me !!!
I added the following configuration in web.config file
<system.web.extensions>
<scripting>
<scriptResourceHandler enableCompression="false" enableCaching="true" />
</scripting>
</system.web.extensions>
It still doesnot work !!!